Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22007

Disable some MicroProfile tests with prepared MicroProfileDependent category

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.4.0.CR2
    • 7.4.0.GA.CR1
    • REST
    • None
    • False
    • False
    • Undefined

      There has been introduced a MicroProfileDependent class (RESTEASY-2406) into a 3.15 branch that serves as a category marker for MicroProfile tests so it is possible to disable them via a maven profile.

      Not all tests in `microprofile` directory of `integration-tests` are marked by this category. I'm not sure whether the point was to have all of them marked, but at least some more would be nice to mark in spite of recent removals of MicroProfile subsystems from JBoss EAP 7.4.0 release. As a result following test cases now fails due to theĀ `NoClassDefFoundError` or `Unsatisfied dependencies`:

      MicroProfileConfigFilterTest.java
      MicroProfileConfigServletTest.java
      MPClientCollectionTest.java
      RestClientProxyRedeployTest.java
      RestClientProxyTest.java
      

      Marking these with `MicroProfileDependent` category stops execution of these tests in executions of Resteasy TS against JBoss EAP 7.4.0 scenario.


      Note: it seem that `MicroProfileDependent` class is not part of `main` branch and as such won't be possible to disable MicroProfile tests when Resteasy TS is executed against JBoss EAP 8.x release. So, probably it will have to be introduced there sometime in the future too.

              jstourac@redhat.com Jan Stourac
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: