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:
Michael McCandless 2014-09-26 04:44:11 -04:00 committed by mikemccand
parent 87e9aba2ac
commit e207189037
1 changed files with 1 additions and 1 deletions

View File

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