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:
Yannick Welsch 2016-10-12 19:00:41 +02:00
parent 06cfffa0a9
commit 3d3ed7a83a
1 changed files with 1 additions and 0 deletions

View File

@ -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