camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r658999 - /activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailFetchSizeTest.java
Date Thu, 22 May 2008 04:17:09 GMT
Author: davsclaus
Date: Wed May 21 21:17:09 2008
New Revision: 658999

URL: http://svn.apache.org/viewvc?rev=658999&view=rev
Log:
CAMEL-528: Applied patch with thanks to William Tam

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

Modified: activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailFetchSizeTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailFetchSizeTest.java?rev=658999&r1=658998&r2=658999&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailFetchSizeTest.java
(original)
+++ activemq/camel/trunk/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailFetchSizeTest.java
Wed May 21 21:17:09 2008
@@ -44,6 +44,7 @@
         mock.setResultWaitTime(2000L);
         mock.assertIsSatisfied();
 
+        Thread.sleep(500);
         assertEquals(3, mailbox.size());
 
         // reset mock to assert the next batch of 2 messages polled
@@ -54,6 +55,7 @@
         mock.setResultWaitTime(7000L);
         mock.assertIsSatisfied();
 
+        Thread.sleep(500);
         assertEquals(1, mailbox.size());
 
         // reset mock to assert the last message polled



Mime
View raw message