[TEST] use new settings infra

This commit is contained in:
Simon Willnauer 2015-12-18 10:26:57 +01:00
parent eca2435838
commit 186242145f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class QuorumGatewayIT extends ESIntegTestCase {
logger.info("--> starting 3 nodes");
// we are shutting down nodes - make sure we don't have 2 clusters if we test network
internalCluster().startNodesAsync(3,
Settings.builder().put(ElectMasterService.DISCOVERY_ZEN_MINIMUM_MASTER_NODES, 2).build()).get();
Settings.builder().put(ElectMasterService.DISCOVERY_ZEN_MINIMUM_MASTER_NODES_SETTING.getKey(), 2).build()).get();
createIndex("test");