camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r662209 - /activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java
Date Sun, 01 Jun 2008 12:58:01 GMT
Author: davsclaus
Date: Sun Jun  1 05:58:00 2008
New Revision: 662209

URL: http://svn.apache.org/viewvc?rev=662209&view=rev
Log:
A little more sleep slack to ensure unit tests passes even when heavy maven activity such
as building all from clean

Modified:
    activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java

Modified: activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java?rev=662209&r1=662208&r2=662209&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java
(original)
+++ activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java
Sun Jun  1 05:58:00 2008
@@ -30,7 +30,7 @@
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedBodiesReceived("Hello London");
         // first poll should happend immediately
-        mock.setResultWaitTime(1000);
+        mock.setResultWaitTime(2000L);
         mock.assertIsSatisfied();
 
         long start = System.currentTimeMillis();



Mime
View raw message