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

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

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: