Test: increase timeout in UnicastZenPingTests#testSimplePings
This commit is contained in:
parent
59d6bd8881
commit
9e18746ea0
|
@ -115,14 +115,14 @@ public class UnicastZenPingTests extends ElasticsearchTestCase {
|
|||
|
||||
try {
|
||||
logger.info("ping from UZP_A");
|
||||
ZenPing.PingResponse[] pingResponses = zenPingA.pingAndWait(TimeValue.timeValueSeconds(1));
|
||||
ZenPing.PingResponse[] pingResponses = zenPingA.pingAndWait(TimeValue.timeValueSeconds(10));
|
||||
assertThat(pingResponses.length, equalTo(1));
|
||||
assertThat(pingResponses[0].node().id(), equalTo("UZP_B"));
|
||||
assertTrue(pingResponses[0].hasJoinedOnce());
|
||||
|
||||
// ping again, this time from B,
|
||||
logger.info("ping from UZP_B");
|
||||
pingResponses = zenPingB.pingAndWait(TimeValue.timeValueSeconds(1));
|
||||
pingResponses = zenPingB.pingAndWait(TimeValue.timeValueSeconds(10));
|
||||
assertThat(pingResponses.length, equalTo(1));
|
||||
assertThat(pingResponses[0].node().id(), equalTo("UZP_A"));
|
||||
assertFalse(pingResponses[0].hasJoinedOnce());
|
||||
|
|
Loading…
Reference in New Issue