mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
Move formatting of disks out of object layer initialization (#2572)
This commit is contained in:
committed by
Harshavardhana
parent
5c4dbc966f
commit
de67bca211
@@ -41,7 +41,11 @@ func TestNewFS(t *testing.T) {
|
||||
}
|
||||
|
||||
// Initializes all disks with XL
|
||||
_, err := newXLObjects(disks, nil)
|
||||
err := formatDisks(disks, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to format XL %s", err)
|
||||
}
|
||||
_, err = newXLObjects(disks, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to initialize XL object, %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user