test: Don't run check index on shard close.

Original commit: elastic/x-pack-elasticsearch@38404e8994
This commit is contained in:
Martijn van Groningen 2015-05-08 11:43:54 +02:00
parent a06303a894
commit 46838d3477

View File

@ -89,6 +89,8 @@ public abstract class AbstractWatcherIntegrationTests extends ElasticsearchInteg
logger.info("using schedule engine [" + scheduleImplName + "]");
return ImmutableSettings.builder()
.put(super.nodeSettings(nodeOrdinal))
// we do this by default in core, but for watcher this isn't needed and only adds noise.
.put("index.store.mock.check_index_on_close", false)
.put("scroll.size", randomIntBetween(1, 100))
.put("plugin.types",
(timeWarped() ? TimeWarpedWatcherPlugin.class.getName() : WatcherPlugin.class.getName()) + "," +