[jbossts-issues] [JBoss JIRA] (JBTM-2717) XAResourceRecoveryHelper removed in a wrong state
Tom Jenkinson (JIRA)
issues at jboss.org
Fri Aug 26 05:37:00 EDT 2016
[ https://issues.jboss.org/browse/JBTM-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson resolved JBTM-2717.
---------------------------------
Fix Version/s: (was: 5.next)
Resolution: Won't Fix
This seems like a test issue. I had a look at the test and but a break point here:
https://github.com/jbosstm/narayana/blob/master/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleHelpersUnitTest.java#L264
The issue is that the removal of the helper and the subsequent checking of the getScanState its not atomic so it can give erroneous responses.
> XAResourceRecoveryHelper removed in a wrong state
> -------------------------------------------------
>
> Key: JBTM-2717
> URL: https://issues.jboss.org/browse/JBTM-2717
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JTA
> Reporter: Gytis Trikleris
> Assignee: Tom Jenkinson
> Priority: Minor
>
> {code}
> Failed tests:
> XARecoveryModuleHelpersUnitTest.testTimelyXAResourceRecoveryHelperRemoval1:55->testTimelyXAResourceRecoveryHelperRemoval:208 helper removed in wrong state expected:<2> but was:<0>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list