HealObject should succeed when only N/2 disks have data (#3952)

This commit is contained in:
Krishnan Parthasarathi
2017-03-22 22:45:16 +05:30
committed by Harshavardhana
parent fbfb4fc5a0
commit 417ec0df56
4 changed files with 38 additions and 7 deletions
+3
View File
@@ -82,6 +82,9 @@ func TestReduceErrs(t *testing.T) {
errDiskNotFound,
}, []error{errDiskNotFound}, errVolumeNotFound},
{[]error{}, []error{}, errXLReadQuorum},
{[]error{errFileNotFound, errFileNotFound, errFileNotFound,
errFileNotFound, errFileNotFound, nil, nil, nil, nil, nil},
nil, nil},
}
// Validates list of all the testcases for returning valid errors.
for i, testCase := range testCases {