Tests: turn off CheckIndex for now (it's buggy: there is a race w/ deletion of all files in the data dirs)
This commit is contained in:
parent
87e9aba2ac
commit
e207189037
|
@ -62,7 +62,7 @@ public class MockFSDirectoryService extends FsDirectoryService {
|
||||||
final long seed = indexSettings.getAsLong(ElasticsearchIntegrationTest.SETTING_INDEX_SEED, 0l);
|
final long seed = indexSettings.getAsLong(ElasticsearchIntegrationTest.SETTING_INDEX_SEED, 0l);
|
||||||
Random random = new Random(seed);
|
Random random = new Random(seed);
|
||||||
helper = new MockDirectoryHelper(shardId, indexSettings, logger, random, seed);
|
helper = new MockDirectoryHelper(shardId, indexSettings, logger, random, seed);
|
||||||
checkIndexOnClose = indexSettings.getAsBoolean(CHECK_INDEX_ON_CLOSE, true);
|
checkIndexOnClose = indexSettings.getAsBoolean(CHECK_INDEX_ON_CLOSE, false);
|
||||||
|
|
||||||
delegateService = helper.randomDirectorService(indexStore);
|
delegateService = helper.randomDirectorService(indexStore);
|
||||||
if (checkIndexOnClose) {
|
if (checkIndexOnClose) {
|
||||||
|
|
Loading…
Reference in New Issue