Remove minimum inodes reqd check (#4747)

This commit is contained in:
Nitish Tiwari
2017-08-04 08:37:22 +05:30
committed by Dee Koder
parent f7889e1af7
commit fcc61fa46a
10 changed files with 40 additions and 61 deletions

View File

@@ -1594,8 +1594,9 @@ func TestWebObjectLayerFaultyDisks(t *testing.T) {
if err != nil {
t.Fatalf("Failed %v", err)
}
if storageInfoReply.StorageInfo.Total != -1 || storageInfoReply.StorageInfo.Free != -1 {
t.Fatalf("Should get negative values of Total and Free since disks are faulty ")
// if Total size is 0 it indicates faulty disk.
if storageInfoReply.StorageInfo.Total != 0 {
t.Fatalf("Should get zero Total size since disks are faulty ")
}
// Test authorization of Web.Download