Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1924

Bad behaviour on Shrinkwrap.addAsServiceProvider

    XMLWordPrintable

Details

    • Hide

      1 - unzip the attached project called arquillian-test.zip
      2 - cd insto arquillian-test.zip
      3 - start a wildfly instance
      4 - run mvn clean test -Parq-wildfly-remote
      4.1 the tests will work
      5 - run mvn clean test -PWeld
      5.1 the ExtensionInJarTest will fail
      6 - run mvn clean test -POWB
      6.1 the ExtensionInJarTest will fail

      Show
      1 - unzip the attached project called arquillian-test.zip 2 - cd insto arquillian-test.zip 3 - start a wildfly instance 4 - run mvn clean test -Parq-wildfly-remote 4.1 the tests will work 5 - run mvn clean test -PWeld 5.1 the ExtensionInJarTest will fail 6 - run mvn clean test -POWB 6.1 the ExtensionInJarTest will fail

    Description

      The attached maven project contains two tests:

      1 - ExtensionInJarTest - This adds a Service through .addAsServiceProvider to an JAR that is placed inside a WAR

      2 - ExtensionInWarTest - This add a Service through .addAsServiceProvider directly to a WAR

      If you run the tests inside Wildfly:

      mvn clean test -Parq-wildfly-remote //it works
      

      If you run the tests using Weld or OWB:

      mvn clean test -PWeld //it fails on ExtensionInJarTest
      mvn clean test -POWB //it fails on ExtensionInJarTest
      

      The expected behaviour is that Weld and OWB shouldn't fail.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rafabene_jira Rafael Benevides (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: