Move action.wait_on_mapping_change setting to pom
This commit is contained in:
parent
ed09ba0a18
commit
6890c9fa62
1
pom.xml
1
pom.xml
|
@ -332,6 +332,7 @@
|
||||||
<es.node.local>${env.ES_TEST_LOCAL}</es.node.local>
|
<es.node.local>${env.ES_TEST_LOCAL}</es.node.local>
|
||||||
<es.transport.tcp.compress>${env.ES_TEST_COMPRESS}</es.transport.tcp.compress>
|
<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.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>
|
</systemPropertyVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class RecoveryPercolatorTests extends AbstractNodesTests {
|
||||||
cleanAndCloseNodes();
|
cleanAndCloseNodes();
|
||||||
|
|
||||||
logger.info("--> starting 1 nodes");
|
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 client = client("node1");
|
||||||
client.admin().indices().prepareCreate("test").setSettings(settingsBuilder().put("index.number_of_shards", 1)).execute().actionGet();
|
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();
|
cleanAndCloseNodes();
|
||||||
|
|
||||||
logger.info("--> starting 1 nodes");
|
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 client = client("node1");
|
||||||
client.admin().indices().prepareCreate("test").setSettings(settingsBuilder().put("index.number_of_shards", 1)).execute().actionGet();
|
client.admin().indices().prepareCreate("test").setSettings(settingsBuilder().put("index.number_of_shards", 1)).execute().actionGet();
|
||||||
|
|
Loading…
Reference in New Issue