[
https://issues.jboss.org/browse/JBTM-3048?page=com.atlassian.jira.plugin....
]
Issue was automatically transitioned when Michael Musgrove created pull request #1354 in
GitHub
-----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
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)