Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-42

Intermittent test failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Alpha9
    • None
    • None
    • None

      The tests have failed a few times with a java.util.concurrent.CancellationException but it doesn't seem to be consistent. It's possible during shutdown the client is being closed before the response from the server is complete.

      One option is to ignore this during shutdown tasks. However it should probably wait to see if the issue shows itself when executing the goals.

      java.io.IOException: java.util.concurrent.CancellationException: Operation was cancelled
      	at org.jboss.threads.AsyncFutureTask.operationCancelled(AsyncFutureTask.java:70)
      	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:267)
      	at org.jboss.as.controller.client.impl.AbstractDelegatingAsyncFuture.get(AbstractDelegatingAsyncFuture.java:57)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:80)
      	at org.jboss.as.controller.client.helpers.domain.impl.DomainClientImpl.execute(DomainClientImpl.java:87)
      	at org.wildfly.plugin.core.ServerHelper.shutdownDomain(ServerHelper.java:192)
      	at org.wildfly.plugin.core.ServerHelper.shutdownDomain(ServerHelper.java:168)
      	at org.wildfly.plugin.server.ServerFunctionMojoTest.shutdown(ServerFunctionMojoTest.java:61)
      

              Unassigned Unassigned
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: