[jbossts-issues] [JBoss JIRA] (JBTM-2426) XTS WSTFSC07-interop failure

Gytis Trikleris (JIRA) issues at jboss.org
Tue Jul 14 04:13:02 EDT 2015


    [ https://issues.jboss.org/browse/JBTM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089132#comment-13089132 ] 

Gytis Trikleris commented on JBTM-2426:
---------------------------------------

As stated by the comment in the code [1] timerTask field may be set to null by another thread. However, a bit later in the method we do not check for null, only if the value differs [2]. Same thing applies for sendCommit method.

[1] https://github.com/jbosstm/narayana/blob/master/XTS/WS-T/dev/src/com/arjuna/wst11/messaging/engines/CoordinatorEngine.java#L578
[2] https://github.com/jbosstm/narayana/blob/master/XTS/WS-T/dev/src/com/arjuna/wst11/messaging/engines/CoordinatorEngine.java#L603

> XTS WSTFSC07-interop failure
> ----------------------------
>
>                 Key: JBTM-2426
>                 URL: https://issues.jboss.org/browse/JBTM-2426
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: XTS
>    Affects Versions: 5.1.1
>            Reporter: Michael Musgrove
>            Assignee: Gytis Trikleris
>            Priority: Minor
>             Fix For: 5.next
>
>         Attachments: com.jboss.transaction.wstf.interop.Sc007Test-output.txt
>
>
> junit test failure:
> {code}
> Running com.jboss.transaction.wstf.interop.Sc007Test
> Tests run: 15, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 326.369 sec <<< FAILURE!
> test3_10(com.jboss.transaction.wstf.interop.Sc007Test)  Time elapsed: 212.002 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Conversation did not complete successfully
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.assertTrue(Assert.java:22)
> 	at junit.framework.TestCase.assertTrue(TestCase.java:192)
> 	at com.jboss.transaction.wstf.interop.Sc007TestCase.test3_10(Sc007TestCase.java:474)
> 	at com.jboss.transaction.wstf.interop.Sc007Test.test3_10(Sc007Test.java:176)
> test3_11(com.jboss.transaction.wstf.interop.Sc007Test)  Time elapsed: 1.608 sec  <<< ERROR!
> com.arjuna.wst.TransactionRolledBackException: null
> 	at com.arjuna.wst11.stub.CompletionStub.commit(CompletionStub.java:65)
> 	at com.jboss.transaction.wstf.interop.Sc007TestCase.test3_11(Sc007TestCase.java:495)
> 	at com.jboss.transaction.wstf.interop.Sc007Test.test3_11(Sc007Test.java:181)
> Results :
> Failed tests: 
>   Sc007Test.test3_10:176 Conversation did not complete successfully
> Tests in error: 
>   Sc007Test.test3_11:181 » TransactionRolledBack
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jbossts-issues mailing list