buildNode("node1", settingsBuilder().put("gateway.type", "local"));
buildNode("node2", settingsBuilder().put("gateway.type", "local"));
cleanAndCloseNodes();
Settings settings = settingsBuilder()
.put("discovery.zen.minimum_master_nodes", 2)
.put("discovery.zen.ping_timeout", "500ms")
.put("discovery.initial_state_timeout", "1s")
.put("gateway.type", "local")
.put("index.number_of_shards", 1)