mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
Continue healing other objects even if objects without quorum exist (#5851)
fixes #5815
This commit is contained in:
committed by
Dee Koder
parent
6831177394
commit
9aace6d36d
@@ -144,7 +144,7 @@ func TestHealObjectXL(t *testing.T) {
|
||||
// Try healing now, expect to receive errDiskNotFound.
|
||||
_, err = obj.HealObject(context.Background(), bucket, object, false)
|
||||
// since majority of xl.jsons are not available, object quorum can't be read properly and error will be errXLReadQuorum
|
||||
if err != errXLReadQuorum {
|
||||
t.Errorf("Expected %v but received %v", errDiskNotFound, err)
|
||||
if _, ok := err.(InsufficientReadQuorum); !ok {
|
||||
t.Errorf("Expected %v but received %v", InsufficientWriteQuorum{}, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user