[TEST] Turn off double write check for restore
This commit is contained in:
parent
2149a9403d
commit
8a20bfcdd5
|
@ -213,7 +213,8 @@ public class DedicatedClusterSnapshotRestoreTests extends AbstractSnapshotTests
|
||||||
logger.info("--> create an index that will have some unallocated shards");
|
logger.info("--> create an index that will have some unallocated shards");
|
||||||
assertAcked(prepareCreate("test-idx-some", 2, settingsBuilder().put("number_of_shards", 6)
|
assertAcked(prepareCreate("test-idx-some", 2, settingsBuilder().put("number_of_shards", 6)
|
||||||
.put("number_of_replicas", 0)
|
.put("number_of_replicas", 0)
|
||||||
.put(MockDirectoryHelper.RANDOM_NO_DELETE_OPEN_FILE, false)));
|
.put(MockDirectoryHelper.RANDOM_NO_DELETE_OPEN_FILE, false)
|
||||||
|
.put(MockDirectoryHelper.RANDOM_PREVENT_DOUBLE_WRITE, false)));
|
||||||
ensureGreen();
|
ensureGreen();
|
||||||
|
|
||||||
logger.info("--> indexing some data into test-idx-some");
|
logger.info("--> indexing some data into test-idx-some");
|
||||||
|
|
Loading…
Reference in New Issue