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

Some AbstractRecord test classes return invalid TwoPhaseOutcome values

    XMLWordPrintable

Details

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

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: