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

Some AbstractRecord test classes return invalid TwoPhaseOutcome values

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmusgrov Michael Musgrove
                Reporter:
                mmusgrov Michael Musgrove
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: