Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1080

XTS Interop tests should use Shrinkwrap to create the interop11.war

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 4.17.0
    • 4.17.0.M1/5.0.0.M1
    • Testing, XTS
    • None

    Description

      Currently we need to package the XTS test artifacts before the tests can be ran:

      ./build.sh -f XTS/localjunit/WSTX11-interop/pom.xml install
      ./build.sh -f XTS/localjunit/WSTX11-interop/pom.xml test -Parq
      

      This is because the maven built interop11.war is deployed as part of the Arquillian tests:

      https://github.com/jbosstm/narayana/blob/master/XTS/localjunit/WSTX11-interop/src/test/java/com/jboss/transaction/txinterop/interop/WarDeployment.java

      If Shrinkwrap was used to create the interop11.war artifact, we could simpley call the following line to run the tests:

      mvn test -p arq
      

      This is also a pre-requisit for having the tests run as part of a top level "mvn test".

      Attachments

        Issue Links

          Activity

            People

              zfeng@redhat.com Zheng Feng
              paul.robinson@redhat.com Paul Robinson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: