It seems that using MockEndpoints in spring boot tests you can get unpredictable results.
Unit tests annotated with -> @RunWith(CamelSpringBootRunner.class) @MockEndpoints Seems to work when running them locally, but fails on CI servers properly due to somewhat slower execution time. The problem can be reproduced when running existing Camel tests https://github.com/apache/camel/blob/master/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/mockendpoints/MockEndpointsTest.java Running both tests in the package org/apache/camel/spring/boot/mockendpoints at the same time, will result in the last to fail. <http://camel.465427.n5.nabble.com/file/n5793492/spring-boot-test.png> /Preben -- View this message in context: http://camel.465427.n5.nabble.com/Problem-using-mockEndpoint-in-Spring-Boot-test-tp5793492.html Sent from the Camel - Users mailing list archive at Nabble.com.