Test: Increase the ping timeout to avoid that a candidate master node makes the decision to elect itself too soon.

This commit is contained in:
Martijn van Groningen 2014-08-28 11:49:02 +02:00
parent 1d960d08f7
commit 6de18262dd
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public class MinimumMasterNodesTests extends ElasticsearchIntegrationTest {
Settings settings = settingsBuilder()
.put("discovery.type", "zen")
.put("discovery.zen.minimum_master_nodes", 3)
.put("discovery.zen.ping_timeout", "200ms")
.put("discovery.zen.ping_timeout", "1s")
.put("discovery.initial_state_timeout", "500ms")
.put("gateway.type", "local")
.build();