[ https://issues.apache.org/activemq/browse/CAMEL-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49180#action_49180 ]
Claus Ibsen commented on CAMEL-966: ----------------------------------- I added two methods on MockEndpoint to set expections for existence of a file public void expectedFileExists(final String name) { public void expectedFileExists(final String name, final String content) { > Get rid of sleeps in tests > -------------------------- > > Key: CAMEL-966 > URL: https://issues.apache.org/activemq/browse/CAMEL-966 > Project: Apache Camel > Issue Type: Task > Components: camel-core, camel-jms, camel-spring > Affects Versions: 1.4.0, 1.5.0 > Reporter: Jonathan Anstey > Priority: Trivial > Fix For: 2.0.0 > > > There are a ton of Thread.sleeps used in tests. This makes them prone to > failure on slower machines and makes the build take longer. This should be > fixed at some point. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.