camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1407766 - in /camel/branches/camel-2.10.x: ./ camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateTest.java camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
Date Sat, 10 Nov 2012 11:31:08 GMT
Author: davsclaus
Date: Sat Nov 10 11:31:07 2012
New Revision: 1407766

URL: http://svn.apache.org/viewvc?rev=1407766&view=rev
Log:
Fixed test on slow CI servers

Modified:
    camel/branches/camel-2.10.x/   (props changed)
    camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateTest.java
    camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1407764

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateTest.java?rev=1407766&r1=1407765&r2=1407766&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateTest.java
(original)
+++ camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/impl/DefaultConsumerTemplateTest.java
Sat Nov 10 11:31:07 2012
@@ -73,7 +73,7 @@ public class DefaultConsumerTemplateTest
         template.sendBody("seda:foo", "Hello");
 
         // a little delay to let the consumer see it
-        Thread.sleep(200);
+        Thread.sleep(500);
 
         out = consumer.receiveNoWait("seda:foo");
         assertEquals("Hello", out.getIn().getBody());
@@ -118,7 +118,7 @@ public class DefaultConsumerTemplateTest
         template.sendBody("seda:foo", "Hello");
 
         // a little delay to let the consumer see it
-        Thread.sleep(200);
+        Thread.sleep(500);
 
         body = consumer.receiveBodyNoWait("seda:foo");
         assertEquals("Hello", body);

Modified: camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java?rev=1407766&r1=1407765&r2=1407766&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
(original)
+++ camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
Sat Nov 10 11:31:07 2012
@@ -140,6 +140,13 @@ public class ResequencerEngineTest exten
         resequencer = new ResequencerEngineSync<Integer>(engine);
         runner = new ResequencerRunner<Integer>(resequencer, 50);
         runner.start();
+
+        // give the runner time to start
+        try {
+            Thread.sleep(500);
+        } catch (InterruptedException e) {
+            // ignore
+        }
     }
     
 }



Mime
View raw message