[jbossts-issues] [JBoss JIRA] (JBTM-1053) Change JBossTS WS-AT/XA bridge tests for AS7 + Arquillian

Ivo Studensky (JIRA) jira-events at lists.jboss.org
Thu Feb 16 05:35:36 EST 2012

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

Ivo Studensky commented on JBTM-1053:

The failure was caused by instrumentation mismatch between TestXAResource and TestXAResourceRecovered classes in the original tests. If the recovery process was fired up on the server side before the first instrumentation check of the TestXAResource in InboutCrashRecoveryTests then the assert failed because of 2 known instrumented instances of this class. The first instance was excepted as it came from the transactional work of the test method, but the second instance was not excepted as it came from the TestXAResourceRecovered#isSameRM() method call during the recovery process, because the TestXAResourceRecovered extended TestXAResource class and inherited the isSameRM method.

The fix committed in r37888.
> Change JBossTS WS-AT/XA bridge tests for AS7 + Arquillian
> ---------------------------------------------------------
>                 Key: JBTM-1053
>                 URL: https://issues.jboss.org/browse/JBTM-1053
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Testing, TxBridge
>    Affects Versions: 4.16.2
>            Reporter: Ivo Studensky
>            Assignee: Ivo Studensky
>             Fix For: 4.16.3
> The current TxBridge tests were coded against AS6 which means for example that they use the ServerManager for controlling the application server, their deployments comply to AS6 descriptors, etc. These things no longer comply with AS7. Hence, the test need to be converted to AS7 plus changed to use Arquillian for controlling the server startup/shutdown/deploy.
> For more details see JBQA-3924.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list