camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/8] git commit: Fixed test on CI servers
Date Mon, 07 Oct 2013 07:16:54 GMT
Updated Branches:
  refs/heads/camel-2.12.x 568f0df38 -> 45222fdd6
  refs/heads/master 05fc17f5c -> d7653ff3a


Fixed test on CI servers


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/15244520
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/15244520
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/15244520

Branch: refs/heads/master
Commit: 15244520e0edf1b2d19247d17fa950f35abfbc47
Parents: 05fc17f
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Oct 7 08:55:20 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Oct 7 08:55:20 2013 +0200

----------------------------------------------------------------------
 .../camel/component/vm/VmMultipleConsumersRemoteRouteTest.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/15244520/camel-core/src/test/java/org/apache/camel/component/vm/VmMultipleConsumersRemoteRouteTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/vm/VmMultipleConsumersRemoteRouteTest.java
b/camel-core/src/test/java/org/apache/camel/component/vm/VmMultipleConsumersRemoteRouteTest.java
index 4c5a656..f69402e 100644
--- a/camel-core/src/test/java/org/apache/camel/component/vm/VmMultipleConsumersRemoteRouteTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/vm/VmMultipleConsumersRemoteRouteTest.java
@@ -16,6 +16,8 @@
  */
 package org.apache.camel.component.vm;
 
+import java.util.concurrent.TimeUnit;
+
 import junit.framework.TestCase;
 import org.apache.camel.CamelContext;
 import org.apache.camel.ProducerTemplate;
@@ -61,7 +63,7 @@ public class VmMultipleConsumersRemoteRouteTest extends TestCase {
             producerTemplate.sendBody("vm:producer?multipleConsumers=true", i);
         }
 
-        MockEndpoint.assertIsSatisfied(mock1, mock2);
+        MockEndpoint.assertIsSatisfied(20, TimeUnit.SECONDS, mock1, mock2);
 
         camelContext.stop();
     }


Mime
View raw message