Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: PC
-
116
-
High
Description
The current sanity test is very fragile and needs to be revisited. The purpose of this test is to validate all the bundles ensuring that they are all in a healthy state.
1) Use a proper mechanism to start the controller process. Consider using a controller-maven-plugin to plug into the lifecycle phases of maven. Wrapping run.sh and sleeping and doing System.exit() seems very convoluted.
2) The sanityTest has not been implemented as a test. Its a bundle which is copied to the plugins directory which spins for some time and exits the JVM. The test is better implemented as a JMX client being out of process to validate the bundles.