The test is faster and does not wait for the completion of all processes.. // give it 30 seconds to shutdown context.getShutdownStrategy().setTimeout(30);
Run test .../camel/camel-core$ mvn -Dtest=ShutdownCompleteAllTasksTest test ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.camel.processor.ShutdownCompleteAllTasksTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.881 sec I'm change 30 seconds to 1 second. context.getShutdownStrategy().setTimeout(1); Run this test ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.camel.processor.ShutdownCompleteAllTasksTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.728 sec <<< FAILURE! Results : Failed tests: testShutdownCompleteAllTasks(org.apache.camel.processor.ShutdownCompleteAllTasksTest): Should complete all messages expected:<5> but was:<3> -- View this message in context: http://camel.465427.n5.nabble.com/Performance-test-ShutdownCompleteAllTasksTest-tp4965388p4965388.html Sent from the Camel - Users mailing list archive at Nabble.com.
