When doing integration tests with Maven and JUnit, keep in mind that Maven will setup several tests in parallel. This can be problematic if you are configuring a transaction manager instance and/or Spring application contexts within the setUp of your JUNit tests cases.

To avoid this problem, make sure to start the maven tests in serial mode, like this:

mvn -DforkMode=once test

Contact Us

Atomikos Corporate Headquarters
Hoveniersstraat, 39/1, 2800
Mechelen, Belgium

E info@atomikos.com
E sales@atomikos.com
T +3215613055

Subscribe to our newsletter

Never miss an update

Copyright 2020 Atomikos BVBA | Our Privacy Policy
By using this site you agree to our cookies. More info. That's Fine