]
Dan Berindei updated ISPN-11094:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.1.0.Final
Resolution: Done
Allow custom container server startup timeout
---------------------------------------------
Key: ISPN-11094
URL:
https://issues.redhat.com/browse/ISPN-11094
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 10.1.0.CR1
Reporter: Diego Lovison
Assignee: Diego Lovison
Priority: Critical
Fix For: 10.1.0.Final
When running {{mvn verify -pl server/runtime/ -s maven-settings.xml -Dtest=ResilienceIT
-Pcontainer}}
The following exception will throw
{noformat}
[0] STDOUT: 12:48:17,711 INFO [org.infinispan.CONTAINER] (main) ISPN000128: Infinispan
version: Infinispan 'Chupacabra' 10.1.0-SNAPSHOT
[0] STDOUT: 12:48:18,522 INFO [org.infinispan.CLUSTER] (main) ISPN000078: Starting
JGroups channel org.infinispan.server.resilience.ResilienceIT
[1] STDOUT: 12:48:19,223 INFO [org.infinispan.CONTAINER] (main) ISPN000128: Infinispan
version: Infinispan 'Chupacabra' 10.1.0-SNAPSHOT
[OK: 0, KO: 1, SKIP: 0] Test failed: ResilienceIT.testUnresponsiveNode
org.infinispan.client.hotrod.exceptions.TransportException::
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed:
Connection refused: /172.17.0.2:11222
at org.infinispan.client.hotrod.impl.Util.rewrap(Util.java:81)
at org.infinispan.client.hotrod.impl.Util.await(Util.java:54)
at
org.infinispan.client.hotrod.impl.RemoteCacheManagerAdminImpl.getOrCreateCache(RemoteCacheManagerAdminImpl.java:67)
at
org.infinispan.server.test.InfinispanServerTestMethodRule$HotRod.create(InfinispanServerTestMethodRule.java:189)
at
org.infinispan.server.resilience.ResilienceIT.testUnresponsiveNode(ResilienceIT.java:42)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{noformat}
Allowing a custom timeout config will give the server more time to startup