camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r964460 - /camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBAggregateRecoverDeadLetterChannelFailedTest.java
Date Thu, 15 Jul 2010 15:15:03 GMT
Author: davsclaus
Date: Thu Jul 15 15:15:03 2010
New Revision: 964460

URL: http://svn.apache.org/viewvc?rev=964460&view=rev
Log:
Fixing test

Modified:
    camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBAggregateRecoverDeadLetterChannelFailedTest.java

Modified: camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBAggregateRecoverDeadLetterChannelFailedTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBAggregateRecoverDeadLetterChannelFailedTest.java?rev=964460&r1=964459&r2=964460&view=diff
==============================================================================
--- camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBAggregateRecoverDeadLetterChannelFailedTest.java
(original)
+++ camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBAggregateRecoverDeadLetterChannelFailedTest.java
Thu Jul 15 15:15:03 2010
@@ -39,7 +39,7 @@ public class HawtDBAggregateRecoverDeadL
         // and move to this dead letter channel
         repo.setDeadLetterUri("direct:dead");
         // check faster
-        repo.setRecoveryInterval(500, TimeUnit.MILLISECONDS);
+        repo.setRecoveryInterval(1000, TimeUnit.MILLISECONDS);
 
         super.setUp();
     }
@@ -65,7 +65,7 @@ public class HawtDBAggregateRecoverDeadL
         template.sendBodyAndHeader("direct:start", "D", "id", 123);
         template.sendBodyAndHeader("direct:start", "E", "id", 123);
 
-        assertMockEndpointsSatisfied();
+        assertMockEndpointsSatisfied(30, TimeUnit.SECONDS);
     }
 
     @Override



Mime
View raw message