Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17546

Update failing test for microprofile-fault-tolerance forcing use of Jakarta Servlet 3.0 protocol

    XMLWordPrintable

Details

    Description

      This is because the ARQ configuration needs to be adapted to Jakarta, i.e. Servlet 5.0.

      mvn verify -Parq-remote
      
      ...
      
      [INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @ microprofile-fault-tolerance ---
      [INFO]
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.wildfly.quickstarts.microprofile.faulttolerance.MicroProfileFaultToleranceIT
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.306 s <<< FAILURE! - in org.wildfly.quickstarts.microprofile.faulttolerance.MicroProfileFaultToleranceIT
      [ERROR] org.wildfly.quickstarts.microprofile.faulttolerance.MicroProfileFaultToleranceIT  Time elapsed: 0.305 s  <<< ERROR!
      java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
      Caused by: java.lang.reflect.InvocationTargetException
      Caused by: java.lang.IllegalStateException: Defined default protocol Servlet 3.0 can not be found on classpath
      
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Errors:
      [ERROR]   MicroProfileFaultToleranceIT.org.wildfly.quickstarts.microprofile.faulttolerance.MicroProfileFaultToleranceIT ยป Runtime
      [INFO]
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      [INFO]
      

      Attachments

        Activity

          People

            rhn-engineering-rhusar Radoslav Husar
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: