File tree 1 file changed +2
-2
lines changed
src/test/java/org/elasticsearch/discovery/zen/ping/unicast 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,14 +116,14 @@ public boolean nodeHasJoinedClusterOnce() {
116
116
117
117
try {
118
118
logger .info ("ping from UZP_A" );
119
- ZenPing .PingResponse [] pingResponses = zenPingA .pingAndWait (TimeValue .timeValueSeconds (1 ));
119
+ ZenPing .PingResponse [] pingResponses = zenPingA .pingAndWait (TimeValue .timeValueSeconds (10 ));
120
120
assertThat (pingResponses .length , equalTo (1 ));
121
121
assertThat (pingResponses [0 ].node ().id (), equalTo ("UZP_B" ));
122
122
assertTrue (pingResponses [0 ].hasJoinedOnce ());
123
123
124
124
// ping again, this time from B,
125
125
logger .info ("ping from UZP_B" );
126
- pingResponses = zenPingB .pingAndWait (TimeValue .timeValueSeconds (1 ));
126
+ pingResponses = zenPingB .pingAndWait (TimeValue .timeValueSeconds (10 ));
127
127
assertThat (pingResponses .length , equalTo (1 ));
128
128
assertThat (pingResponses [0 ].node ().id (), equalTo ("UZP_A" ));
129
129
assertFalse (pingResponses [0 ].hasJoinedOnce ());
You can’t perform that action at this time.
0 commit comments