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:
parent
1d960d08f7
commit
6de18262dd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue