Fixing ineffssaign errors (#2608)

This commit is contained in:
Karthic Rao
2016-09-02 11:40:50 +05:30
committed by Harshavardhana
parent a1f922315b
commit 1ce339abeb
14 changed files with 32 additions and 17 deletions

View File

@@ -126,7 +126,9 @@ func TestXLDeleteObjectDiskNotFound(t *testing.T) {
object := "object"
// Create object "obj" under bucket "bucket".
_, err = obj.PutObject(bucket, object, int64(len("abcd")), bytes.NewReader([]byte("abcd")), nil)
if err != nil {
t.Fatal(err)
}
// for a 16 disk setup, quorum is 9. To simulate disks not found yet
// quorum is available, we remove disks leaving quorum disks behind.
for i := range xl.storageDisks[:7] {