From 6890c9fa623749d6b915de41dbb44adee1fe60ee Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Wed, 6 Feb 2013 11:12:57 -0500 Subject: [PATCH] Move action.wait_on_mapping_change setting to pom --- pom.xml | 1 + .../test/integration/percolator/RecoveryPercolatorTests.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2fdab8d3b25..b939ff735bc 100644 --- a/pom.xml +++ b/pom.xml @@ -332,6 +332,7 @@ ${env.ES_TEST_LOCAL} ${env.ES_TEST_COMPRESS} ${env.ES_TEST_COMPRESS} + ${env.ES_WAIT_ON_MAPPING_CHANGE} diff --git a/src/test/java/org/elasticsearch/test/integration/percolator/RecoveryPercolatorTests.java b/src/test/java/org/elasticsearch/test/integration/percolator/RecoveryPercolatorTests.java index 8f8f9ecb61e..81bcb5286a8 100644 --- a/src/test/java/org/elasticsearch/test/integration/percolator/RecoveryPercolatorTests.java +++ b/src/test/java/org/elasticsearch/test/integration/percolator/RecoveryPercolatorTests.java @@ -62,7 +62,7 @@ public class RecoveryPercolatorTests extends AbstractNodesTests { cleanAndCloseNodes(); logger.info("--> starting 1 nodes"); - startNode("node1", settingsBuilder().put("gateway.type", "local").put("action.wait_on_mapping_change", true)); + startNode("node1", settingsBuilder().put("gateway.type", "local")); Client client = client("node1"); client.admin().indices().prepareCreate("test").setSettings(settingsBuilder().put("index.number_of_shards", 1)).execute().actionGet(); @@ -108,7 +108,7 @@ public class RecoveryPercolatorTests extends AbstractNodesTests { cleanAndCloseNodes(); logger.info("--> starting 1 nodes"); - startNode("node1", settingsBuilder().put("gateway.type", "local").put("action.wait_on_mapping_change", true)); + startNode("node1", settingsBuilder().put("gateway.type", "local")); Client client = client("node1"); client.admin().indices().prepareCreate("test").setSettings(settingsBuilder().put("index.number_of_shards", 1)).execute().actionGet();