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

Tom Jenkinson (Jira) issues at jboss.org
Tue Dec 4 06:02:01 EST 2018


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

Tom Jenkinson closed JBTM-3048.
-------------------------------


> 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.9.1.Final
>
>
> 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.12.1#712002)


More information about the jbossts-issues mailing list