Running SwitchYard JUnit test case with the CDIMixIn runner tests throw a TransactionRequiredExeption
Issue
- While running the modified
bean-servicequickstart with a JUnit test case, which contains theCDIMixInrunner, the test throws aTransactionRequiredExeption. - But when run from within
FSW 6.0.0container, it works as expected. - Note that the test case includes a
SwitchYard servicewhich uses aCDI beanwithJPA. - How to solve this issue?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.x
- JBoss Developer Studio (JBDS)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.