Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7494

TxConnectionManagerUnitTestCase has poor TransactionTimeout usage

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.0.M1
    • Fix Version/s: 6.0.0.M2
    • Component/s: Test Suite
    • Labels:
      None

      Description

      org.jboss.test.jca.test.TxConnectionManagerUnitTestCase.setUp uses mbean lookup of a the TransactionTimeout property. This is not required to be present by the tx integration api, it's an implementation detail of the tx mgr. Hence this tests is unnecessarily fragile, especially since the only use of the value retrieved is to reset it after the test. Probably better to just call setTransactionTimeout(0) in tearDown, which will restore the default timeout.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shelly.mcgowan Shelly McGowan
                  Reporter:
                  jhalliday Jonathan Halliday
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: