mirror of
https://github.com/minio/minio.git
synced 2026-11-17 06:55:18 +00:00
log formatting only the first time (#8846)
This commit is contained in:
1 parent
fc5213258e
commit
23e46f9dba
5 files changed
+12
-11
No files matched your search
+3
-3
@@ -76,18 +76,18 @@ func TestNewXLSets(t *testing.T) {
|
||||
}
|
||||
|
||||
endpoints := mustGetNewEndpoints(erasureDisks...)
|
||||
_, err := waitForFormatXL(true, endpoints, 0, 16, "")
|
||||
_, err := waitForFormatXL(true, endpoints, 1, 0, 16, "")
|
||||
if err != errInvalidArgument {
|
||||
t.Fatalf("Expecting error, got %s", err)
|
||||
}
|
||||
|
||||
_, err = waitForFormatXL(true, nil, 1, 16, "")
|
||||
_, err = waitForFormatXL(true, nil, 1, 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, 1, 16, "")
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to format disks for erasure, %s", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user