@@ -378,7 +378,7 @@ public NodeRecord fromRlp(RLPReader reader) {
378378 final DiscoverySystem otherClient = createDiscoveryClient (client .getLocalNodeRecord ());
379379
380380 final CompletableFuture <Void > pingResult = client .ping (bootnode .getLocalNodeRecord ());
381- waitFor (pingResult );
381+ waitFor (pingResult , 60 );
382382 assertTrue (pingResult .isDone ());
383383 assertFalse (pingResult .isCompletedExceptionally ());
384384
@@ -392,24 +392,24 @@ public NodeRecord fromRlp(RLPReader reader) {
392392
393393 final CompletableFuture <Void > otherClientPingResult =
394394 otherClient .ping (client .getLocalNodeRecord ());
395- waitFor (otherClientPingResult );
395+ waitFor (otherClientPingResult , 60 );
396396 assertTrue (otherClientPingResult .isDone ());
397397 assertFalse (otherClientPingResult .isCompletedExceptionally ());
398398
399399 final CompletableFuture <Collection <NodeRecord >> findNodesResult1 =
400400 otherClient .findNodes (client .getLocalNodeRecord (), singletonList (0 ));
401- waitFor (findNodesResult1 );
401+ waitFor (findNodesResult1 , 60 );
402402 assertTrue (findNodesResult1 .isDone ());
403403 assertFalse (findNodesResult1 .isCompletedExceptionally ());
404404
405405 final CompletableFuture <Collection <NodeRecord >> findNodesResult2 =
406406 client .findNodes (bootnode .getLocalNodeRecord (), singletonList (0 ));
407- waitFor (findNodesResult2 );
407+ waitFor (findNodesResult2 , 60 );
408408 assertTrue (findNodesResult2 .isDone ());
409409 assertFalse (findNodesResult2 .isCompletedExceptionally ());
410410
411411 final CompletableFuture <Void > bootnodePingResult = bootnode .ping (client .getLocalNodeRecord ());
412- waitFor (bootnodePingResult );
412+ waitFor (bootnodePingResult , 60 );
413413 assertTrue (bootnodePingResult .isDone ());
414414 assertFalse (bootnodePingResult .isCompletedExceptionally ());
415415 }
0 commit comments