|
|
@ -126,9 +126,8 @@ func TestFSShutdown(t *testing.T) { |
|
|
|
} |
|
|
|
} |
|
|
|
removeAll(disk) |
|
|
|
removeAll(disk) |
|
|
|
|
|
|
|
|
|
|
|
// FIXME: Check why Shutdown returns success when second posix call returns faulty disk error
|
|
|
|
|
|
|
|
// Test Shutdown with faulty disk
|
|
|
|
// Test Shutdown with faulty disk
|
|
|
|
/* for i := 1; i <= 5; i++ { |
|
|
|
for i := 1; i <= 5; i++ { |
|
|
|
fs, disk := prepareTest() |
|
|
|
fs, disk := prepareTest() |
|
|
|
fs.DeleteObject(bucketName, objectName) |
|
|
|
fs.DeleteObject(bucketName, objectName) |
|
|
|
fsStorage := fs.storage.(*retryStorage) |
|
|
|
fsStorage := fs.storage.(*retryStorage) |
|
|
@ -137,7 +136,7 @@ func TestFSShutdown(t *testing.T) { |
|
|
|
t.Fatal(i, ", Got unexpected fs shutdown error: ", err) |
|
|
|
t.Fatal(i, ", Got unexpected fs shutdown error: ", err) |
|
|
|
} |
|
|
|
} |
|
|
|
removeAll(disk) |
|
|
|
removeAll(disk) |
|
|
|
} */ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// TestFSLoadFormatFS - test loadFormatFS with healty and faulty disks
|
|
|
|
// TestFSLoadFormatFS - test loadFormatFS with healty and faulty disks
|
|
|
|