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

Improve tests in integration/multinode/../transaction/async/TransactionPropagationTestCase

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 19.0.0.Beta2, 19.0.0.Final
    • 19.0.0.Beta1
    • EJB
    • None

    Description

      This is for tests in testsuite/integration/multinode/src/test/java/org/jboss/as/test/multinode/transaction/async/TransactionPropagationTestCase.java

      • replace the sleep() in test method with Future.get() after calling async methods
      • improve jndi lookup
        • close context
        • cache context at class level
        • replace with @EJB injection

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: