Increase number of allowed failures in MockRepository for snapshot restore test
The test testDataFileCorruptionDuringRestore expects failures to happen when accessing snapshot data. It would sometimes fail however as MockRepository (by default) only simulates 100 failures.
This commit is contained in:
parent
06cfffa0a9
commit
3d3ed7a83a
|
@ -715,6 +715,7 @@ public class SharedClusterSnapshotRestoreIT extends AbstractSnapshotIntegTestCas
|
|||
.put("location", repositoryLocation)
|
||||
.put("random", randomAsciiOfLength(10))
|
||||
.put("use_lucene_corruption", true)
|
||||
.put("max_failure_number", 10000000L)
|
||||
.put("random_data_file_io_exception_rate", 1.0)));
|
||||
|
||||
// Test restore after index deletion
|
||||
|
|
Loading…
Reference in New Issue