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

AbstractParseAndMarshalModelsTestCase does not correctly detect if test is running using the wildfly-ee distribution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • 35.0.0.Final
    • None
    • Test Suite
    • None

      AbstractParseAndMarshalModelsTestCase is checking if `testsuite.default.build.project.prefix` has been configured to be `ee-`. However the `testsuite.default.build.project.prefix` is never passed to the surefire plugin so it will never detect such a condition.

      This situation could cause the test to fail if the xml file used to test the parsers contains modules that are not available for the current server provisioned with wildfly-ee.

      This is not reproducible upstream since by default, upstream the server is configured to work using full distribution, and to switch to the wildfly-ee one we need to explicitly run the test with testsuite.default.build.project.prefix=ee-, which is always correctly detected by the aforementioned class. This is relevant only if we had the testsuite.default.build.project.prefix property configured to ee- at pom.xml level

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: