Move action.wait_on_mapping_change setting to pom

This commit is contained in:
Igor Motov 2013-02-06 11:12:57 -05:00
parent ed09ba0a18
commit 6890c9fa62
2 changed files with 3 additions and 2 deletions

View File

@ -332,6 +332,7 @@
<es.node.local>${env.ES_TEST_LOCAL}</es.node.local>
<es.transport.tcp.compress>${env.ES_TEST_COMPRESS}</es.transport.tcp.compress>
<es.index.store.compress.stored>${env.ES_TEST_COMPRESS}</es.index.store.compress.stored>
<es.action.wait_on_mapping_change>${env.ES_WAIT_ON_MAPPING_CHANGE}</es.action.wait_on_mapping_change>
</systemPropertyVariables>
</configuration>
</plugin>

View File

@ -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();