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

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


     [ https://issues.jboss.org/browse/JBTM-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove updated JBTM-3048:
-----------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> 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