camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [5/8] git commit: Fixed test on CI servers
Date Mon, 07 Oct 2013 07:16:58 GMT
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/d9d3b41a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d9d3b41a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d9d3b41a

Branch: refs/heads/camel-2.12.x
Commit: d9d3b41a78cf954d8fc22a3641c8c7c3fd0db516
Parents: 568f0df
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 09:16:18 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/d9d3b41a/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