Running SwitchYard JUnit test case with the CDIMixIn runner tests throw a TransactionRequiredExeption
Issue
- While running the modified
bean-service
quickstart with a JUnit test case, which contains theCDIMixIn
runner, the test throws aTransactionRequiredExeption
. - But when run from within
FSW 6.0.0
container, it works as expected. - Note that the test case includes a
SwitchYard service
which uses aCDI bean
withJPA
. - 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.