Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 97326 invoked from network); 6 Feb 2009 12:10:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2009 12:10:22 -0000 Received: (qmail 44766 invoked by uid 500); 6 Feb 2009 12:10:21 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 44700 invoked by uid 500); 6 Feb 2009 12:10:20 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 44641 invoked by uid 500); 6 Feb 2009 12:10:20 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 44637 invoked by uid 99); 6 Feb 2009 12:10:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 04:10:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 12:10:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6219A234C4A9 for ; Fri, 6 Feb 2009 04:09:59 -0800 (PST) Message-ID: <1016268383.1233922199387.JavaMail.jira@brutus> Date: Fri, 6 Feb 2009 04:09:59 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-966) Get rid of sleeps in tests In-Reply-To: <902915214.1223400355609.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.