@@ -401,7 +401,7 @@ public BoundTransportAddress boundAddress() {
401401 Collections .singletonList ("127.0.0.1" ),
402402 limitPortCounts ,
403403 transportService ,
404- TimeValue .timeValueSeconds (1 ));
404+ TimeValue .timeValueSeconds (30 ));
405405 assertThat (transportAddresses , hasSize (limitPortCounts ));
406406 final Set <Integer > ports = new HashSet <>();
407407 for (final TransportAddress address : transportAddresses ) {
@@ -445,7 +445,7 @@ public BoundTransportAddress boundAddress() {
445445 Collections .singletonList (NetworkAddress .format (loopbackAddress )),
446446 10 ,
447447 transportService ,
448- TimeValue .timeValueSeconds (1 ));
448+ TimeValue .timeValueSeconds (30 ));
449449 assertThat (transportAddresses , hasSize (7 ));
450450 final Set <Integer > ports = new HashSet <>();
451451 for (final TransportAddress address : transportAddresses ) {
@@ -496,7 +496,7 @@ public TransportAddress[] addressesFromString(String address, int perAddressLimi
496496 Arrays .asList (hostname ),
497497 1 ,
498498 transportService ,
499- TimeValue .timeValueSeconds (1 )
499+ TimeValue .timeValueSeconds (30 )
500500 );
501501
502502 assertThat (transportAddresses , empty ());
@@ -547,7 +547,7 @@ public TransportAddress[] addressesFromString(String address, int perAddressLimi
547547 new TransportService (Settings .EMPTY , transport , threadPool , TransportService .NOOP_TRANSPORT_INTERCEPTOR , x -> null , null ,
548548 Collections .emptySet ());
549549 closeables .push (transportService );
550- final TimeValue resolveTimeout = TimeValue .timeValueSeconds (randomIntBetween (1 , 3 ));
550+ final TimeValue resolveTimeout = TimeValue .timeValueSeconds (randomIntBetween (3 , 5 ));
551551 try {
552552 final List <TransportAddress > transportAddresses = UnicastZenPing .resolveHostsLists (
553553 executorService ,
@@ -722,7 +722,7 @@ public BoundTransportAddress boundAddress() {
722722 Arrays .asList ("127.0.0.1:9300:9300" , "127.0.0.1:9301" ),
723723 1 ,
724724 transportService ,
725- TimeValue .timeValueSeconds (1 ));
725+ TimeValue .timeValueSeconds (30 ));
726726 assertThat (transportAddresses , hasSize (1 )); // only one of the two is valid and will be used
727727 assertThat (transportAddresses .get (0 ).getAddress (), equalTo ("127.0.0.1" ));
728728 assertThat (transportAddresses .get (0 ).getPort (), equalTo (9301 ));
0 commit comments