[TEST] enable host name resolving to gain consistent transport addresses in clusterstate

This commit is contained in:
Simon Willnauer 2015-04-27 14:23:42 +02:00 committed by Igor Motov
parent 58eed45ee5
commit 9828e955f3
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ public final class InternalTestCluster extends TestCluster {
builder.put("http.port", BASE_PORT+101 + "-" + (BASE_PORT+200));
builder.put("config.ignore_system_properties", true);
builder.put("node.mode", NODE_MODE);
builder.put("network.address.serialization.resolve", true); // this makes adresses in the clusterstate consistent
builder.put("http.pipelining", enableHttpPipelining);
builder.put("plugins." + PluginsService.LOAD_PLUGIN_FROM_CLASSPATH, false);
builder.put(NodeEnvironment.SETTING_CUSTOM_DATA_PATH_ENABLED, true);