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

Some AbstractRecord test classes return invalid TwoPhaseOutcome values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 5.9.1.Final
    • 5.9.0.Final
    • Transaction Core
    • None

      The test classes

      arjuna/tests/classes/com/hp/mwtests/ts/arjuna/atomicaction/AtomicActionUnitTest.java
      arjuna/tests/classes/com/hp/mwtests/ts/arjuna/atomicaction/TxStatsSystemErrorUnitTest.java

      contain inner class implementations of AbstractRecord that return invalid values from the action lifecycle methods. For example:

      public int topLevelCommit() {return 0;}
      

      which maps to TwoPhaseOutcome.PREPARE_OK which is wrong.

              rhn-engineering-mmusgrov Michael Musgrove
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: