servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r951084 - /servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/CamelConcurrentProducerCreationTest.java
Date Thu, 03 Jun 2010 17:38:38 GMT
Author: gertv
Date: Thu Jun  3 17:38:37 2010
New Revision: 951084

URL: http://svn.apache.org/viewvc?rev=951084&view=rev
Log:
SMXCOMP-751: Ensure the test also work properly on slower CI build machines

Modified:
    servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/CamelConcurrentProducerCreationTest.java

Modified: servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/CamelConcurrentProducerCreationTest.java
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/CamelConcurrentProducerCreationTest.java?rev=951084&r1=951083&r2=951084&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/CamelConcurrentProducerCreationTest.java
(original)
+++ servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/CamelConcurrentProducerCreationTest.java
Thu Jun  3 17:38:37 2010
@@ -43,6 +43,7 @@ public class CamelConcurrentProducerCrea
 
     public void testConcurrentlyCreateProducers() throws Exception {
         final MockEndpoint mock = getMockEndpoint("mock:test");
+        mock.setResultWaitTime(60000);
         mock.expectedMessageCount(COUNT);
 
         ExecutorService executor = Executors.newFixedThreadPool(25);
@@ -56,7 +57,7 @@ public class CamelConcurrentProducerCrea
             });
         }
 
-        mock.assertIsSatisfied(60000);
+        mock.assertIsSatisfied();
     }
 
     private void doSendExchangeWithProducer(String body) throws Exception {



Mime
View raw message