fix flaky repair tests (#2973)

This commit is contained in:
Maximillian von Briesen 2019-09-06 18:02:01 -04:00 committed by Jess G
parent 60eba990eb
commit 64602c3007

View File

@ -69,7 +69,7 @@ func TestDataRepair(t *testing.T) {
MinThreshold: minThreshold,
RepairThreshold: 5,
SuccessThreshold: successThreshold,
MaxThreshold: 10,
MaxThreshold: 9,
}, "testbucket", "test/path", testData)
require.NoError(t, err)
@ -202,7 +202,7 @@ func TestCorruptDataRepair(t *testing.T) {
MinThreshold: 3,
RepairThreshold: 5,
SuccessThreshold: 7,
MaxThreshold: 10,
MaxThreshold: 9,
}, "testbucket", "test/path", testData)
require.NoError(t, err)