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

MP REST Client TCK Tests fail on JDK17+

    XMLWordPrintable

Details

    • Hide

      // (Step 1) Configure JDK17 LTS to be used
      export JAVA_HOME=$ORACLE_JDK17_LTS
      export PATH=$JAVA_HOME/bin:$PATH

      // (Step 2) Build WildFly - do not run tests
      cd wildfly
      mvn clean install -DallTests -DskipTests=true

      // (Step 3) Enter into test directory
      cd testsuite/integration/microprofile-tck/rest-client

      // (Step 4) Run TCK tests on JDK 17
      mvn clean install -DallTests

      // (Note) Please notice that running (Step 4) with param -Dts.ee9 (Jakarta variant) works

      Show
      // (Step 1) Configure JDK17 LTS to be used export JAVA_HOME=$ORACLE_JDK17_LTS export PATH=$JAVA_HOME/bin:$PATH // (Step 2) Build WildFly - do not run tests cd wildfly mvn clean install -DallTests -DskipTests=true // (Step 3) Enter into test directory cd testsuite/integration/microprofile-tck/rest-client // (Step 4) Run TCK tests on JDK 17 mvn clean install -DallTests // (Note) Please notice that running (Step 4) with param -Dts.ee9 (Jakarta variant) works

    Description

      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR] TimeoutBuilderIndependentOfMPConfigTest.testConnectTimeout » Test
      Expected ex...
      [ERROR] TimeoutTest.testConnectTimeout » Test
      Expected exception of type class javax....
      [ERROR] TimeoutViaMPConfigTest.testConnectTimeout » Test
      Expected exception of type c...
      [ERROR] TimeoutViaMPConfigTest.testReadTimeout » Test
      Expected exception of type clas...
      [ERROR] TimeoutViaMPConfigWithConfigKeyTest.testConnectTimeout » Test
      Expected except...
      [ERROR] TimeoutViaMPConfigWithConfigKeyTest.testReadTimeout » Test
      Expected exception...
      [INFO]
      [ERROR] Tests run: 225, Failures: 6, Errors: 0, Skipped: 14

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            ropalka Richard Opalka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: