From e2071890375bc0e6b6906fa318c33ed8f14fdaf7 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Fri, 26 Sep 2014 04:44:11 -0400 Subject: [PATCH] Tests: turn off CheckIndex for now (it's buggy: there is a race w/ deletion of all files in the data dirs) --- .../org/elasticsearch/test/store/MockFSDirectoryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java b/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java index 2666cb6b85e..0fce06d0d3e 100644 --- a/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java +++ b/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java @@ -62,7 +62,7 @@ public class MockFSDirectoryService extends FsDirectoryService { final long seed = indexSettings.getAsLong(ElasticsearchIntegrationTest.SETTING_INDEX_SEED, 0l); Random random = new 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); if (checkIndexOnClose) {