camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1100686 - in /camel/trunk: camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SPollEnricherTest.scala
Date Sun, 08 May 2011 06:29:00 GMT
Author: davsclaus
Date: Sun May  8 06:28:59 2011
New Revision: 1100686

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

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
    camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SPollEnricherTest.scala

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java?rev=1100686&r1=1100685&r2=1100686&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
Sun May  8 06:28:59 2011
@@ -96,7 +96,7 @@ public class PollEnricherTest extends Co
     public void testPollEnrichInOut() throws InterruptedException {
         template.sendBody("seda:foo4", "blah");
 
-        Thread.sleep(100);
+        Thread.sleep(200);
 
         String result = (String) template.sendBody("direct:enricher-test-4", ExchangePattern.InOut,
"test");
         assertEquals("test:blah", result);

Modified: camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SPollEnricherTest.scala
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SPollEnricherTest.scala?rev=1100686&r1=1100685&r2=1100686&view=diff
==============================================================================
--- camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SPollEnricherTest.scala
(original)
+++ camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SPollEnricherTest.scala
Sun May  8 06:28:59 2011
@@ -27,18 +27,18 @@ class SPollEnricherTest extends PollEnri
   val strategy = new SampleAggregator
 
   override def createRouteBuilder = new RouteBuilder {
-    "direct:enricher-test-1" pollEnrich("direct:foo1", strategy) to("mock:mock")
+    "direct:enricher-test-1" pollEnrich("seda:foo1", strategy) to("mock:mock")
 
     "direct:enricher-test-2" ==> {
-      pollEnrich("direct:foo2", strategy, 1000)
+      pollEnrich("seda:foo2", strategy, 1000)
       to("mock:mock")
     }
 
     "direct:enricher-test-3" ==> {
-      pollEnrich("direct:foo3", strategy, -1)
+      pollEnrich("seda:foo3", strategy, -1)
       to("mock:mock")
     }
 
-    "direct:enricher-test-4" pollEnrich("direct:foo4", strategy)
+    "direct:enricher-test-4" pollEnrich("seda:foo4", strategy)
   }
 }



Mime
View raw message