[jbossts-issues] [JBoss JIRA] (JBTM-1779) txframework DataManagementTest does not work under emma

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Tue Jun 11 11:31:54 EDT 2013


Tom Jenkinson created JBTM-1779:
-----------------------------------

             Summary: txframework DataManagementTest does not work under emma
                 Key: JBTM-1779
                 URL: https://issues.jboss.org/browse/JBTM-1779
             Project: JBoss Transaction Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Testing, TXFramework
            Reporter: Tom Jenkinson
            Assignee: Paul Robinson
             Fix For: 5.0.0.M4


There is a single txf test that does not run correctly under emma. It complains about not being able to find vladium.

The problem appears to be that this test creates an arq deployment containing its own copy of the TXDataMap rather than trying to use the one that is deployed already in the AS and is therefore in a different classloader so can't see the shaded emma classes from the real module. 

When I modify the test to remove that class and use the txf module directly, the same as all the other tests in the txf module, it can't load the TXDM class from the module. The difference is that the TXDM is injected into test beans that are injected into the tests, rather than directly injected. I think this could be a limitation of Emma.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list