Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
2.2.1
-
None
Description
While running tests for another issue (unlocking the CAS after out-of-memory-failure) I found this test case fails solidly when run from maven, and runs always without error when run from Eclipse.
Running from maven as a single test, it fails (to run a single test, do:
mvn test -Dtest=CpmCasConsumer_ErrorTest
Running from maven as a single test, in debug mode, then attaching the Eclipse debugger - sometimes shows the error. To run a maven test and attach the Eclipse debugger do:
mvn test -Dtest=CpmCasConsumer_ErrorTest -Dmaven.surefire.debug
and then create an Eclipse launch configuration for a "Remote Java Application", and set the port to 5005, and check the box which says "Allow termination of Remote VM".