[TESTS] Fix incorrect discovery options.

This commit is contained in:
Martijn van Groningen 2014-03-13 14:10:54 +07:00
parent e7ddef9974
commit 77abf027af
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ public class DiscoveryTests extends ElasticsearchIntegrationTest {
@Override
protected Settings nodeSettings(int nodeOrdinal) {
return ImmutableSettings.settingsBuilder().put("discovery.zen.multicast.enabled", false)
.put("discovery.zen.unicast.hosts", "localhost").put(super.nodeSettings(nodeOrdinal)).build();
return ImmutableSettings.settingsBuilder().put("discovery.zen.ping.multicast.enabled", false)
.put("discovery.zen.ping.unicast.hosts", "localhost").put(super.nodeSettings(nodeOrdinal)).build();
}
@Test