mirror of
https://github.com/pgsty/minio.git
synced 2026-10-07 18:25:58 +03:00
Preserve same deploymentID on all zones (#8542)
This commit is contained in:
committed by
Nitish Tiwari
parent
347b29d059
commit
8392d2f510
+3
-3
@@ -76,18 +76,18 @@ func TestNewXLSets(t *testing.T) {
|
||||
}
|
||||
|
||||
endpoints := mustGetNewEndpoints(erasureDisks...)
|
||||
_, err := waitForFormatXL(true, endpoints, 0, 16)
|
||||
_, err := waitForFormatXL(true, endpoints, 0, 16, "")
|
||||
if err != errInvalidArgument {
|
||||
t.Fatalf("Expecting error, got %s", err)
|
||||
}
|
||||
|
||||
_, err = waitForFormatXL(true, nil, 1, 16)
|
||||
_, err = waitForFormatXL(true, nil, 1, 16, "")
|
||||
if err != errInvalidArgument {
|
||||
t.Fatalf("Expecting error, got %s", err)
|
||||
}
|
||||
|
||||
// Initializes all erasure disks
|
||||
format, err := waitForFormatXL(true, endpoints, 1, 16)
|
||||
format, err := waitForFormatXL(true, endpoints, 1, 16, "")
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to format disks for erasure, %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user