Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2915

Disable some MicroProfile tests with prepared MicroProfileDependent category

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.15.2.Final
    • None
    • None
    • None

      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 at the moment. 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 when Resteasy TS is executed against JBoss EAP 7.4.0 due to theĀ `NoClassDefFoundError` or `Unsatisfied dependencies`:

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

      Adding these the `MicroProfileDependent` category eases the situation of disabling those tests via an appropriate profile (`microprofile.off`).


      Since `MicroProfileDependent`category is not available in latest branches, having this change in `3.15` branch is enough for us for now.

              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: