[jbossts-issues] [JBoss JIRA] (JBTM-3048) Some AbstractRecord test classes return invalid TwoPhaseOutcome values

Michael Musgrove (JIRA) issues at jboss.org
Tue Aug 7 06:33:00 EDT 2018


Michael Musgrove created JBTM-3048:
--------------------------------------

             Summary: Some AbstractRecord test classes return invalid TwoPhaseOutcome values
                 Key: JBTM-3048
                 URL: https://issues.jboss.org/browse/JBTM-3048
             Project: JBoss Transaction Manager
          Issue Type: Bug
          Components: Transaction Core
    Affects Versions: 5.9.0.Final
            Reporter: Michael Musgrove
            Assignee: Michael Musgrove
            Priority: Minor
             Fix For: 5.next


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:

{code}
public int topLevelCommit() {return 0;}
{code}
which maps to TwoPhaseOutcome.PREPARE_OK which is wrong.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list