Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11094

Allow custom container server startup timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 10.1.0.Final
    • 10.1.0.Final
    • Test Suite
    • None

      When running mvn verify -pl server/runtime/ -s maven-settings.xml -Dtest=ResilienceIT -Pcontainer
      The following exception will throw

      [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)
      

      Allowing a custom timeout config will give the server more time to startup

              dlovison@redhat.com Diego Lovison
              dlovison@redhat.com Diego Lovison
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: