This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 9c91f57db91e2906df8061de1b245c44543acfcb
Author: Christian Ohr <christian....@gmail.com>
AuthorDate: Wed May 16 16:33:24 2018 +0200

    CAMEL-11600:fix tests that sporadically fail due to concurrency
---
 .../micrometer/messagehistory/MicrometerMessageHistoryTest.java   | 8 ++++----
 .../messagehistory/SpringMicrometerMessageHistoryTest.java        | 4 ++--
 .../micrometer/messagehistory/SpringMetricsMessageHistoryTest.xml | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/MicrometerMessageHistoryTest.java
 
b/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/MicrometerMessageHistoryTest.java
index 621a227..094fd66 100644
--- 
a/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/MicrometerMessageHistoryTest.java
+++ 
b/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/MicrometerMessageHistoryTest.java
@@ -52,9 +52,9 @@ public class MicrometerMessageHistoryTest extends 
CamelTestSupport {
 
         for (int i = 0; i < count; i++) {
             if (i % 2 == 0) {
-                template.sendBody("seda:foo", "Hello " + i);
+                template.sendBody("direct:foo", "Hello " + i);
             } else {
-                template.sendBody("seda:bar", "Hello " + i);
+                template.sendBody("direct:bar", "Hello " + i);
             }
         }
 
@@ -87,10 +87,10 @@ public class MicrometerMessageHistoryTest extends 
CamelTestSupport {
         return new RouteBuilder() {
             @Override
             public void configure() {
-                from("seda:foo")
+                from("direct:foo")
                     .to("mock:foo").id("foo");
 
-                from("seda:bar")
+                from("direct:bar")
                     .to("mock:bar").id("bar")
                     .to("mock:baz").id("baz");
             }
diff --git 
a/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/SpringMicrometerMessageHistoryTest.java
 
b/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/SpringMicrometerMessageHistoryTest.java
index 935e3bb..70c5fc8 100644
--- 
a/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/SpringMicrometerMessageHistoryTest.java
+++ 
b/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/messagehistory/SpringMicrometerMessageHistoryTest.java
@@ -42,9 +42,9 @@ public class SpringMicrometerMessageHistoryTest extends 
CamelSpringTestSupport {
 
         for (int i = 0; i < count; i++) {
             if (i % 2 == 0) {
-                template.sendBody("seda:foo", "Hello " + i);
+                template.sendBody("direct:foo", "Hello " + i);
             } else {
-                template.sendBody("seda:bar", "Hello " + i);
+                template.sendBody("direct:bar", "Hello " + i);
             }
         }
 
diff --git 
a/components/camel-micrometer/src/test/resources/org/apache/camel/component/micrometer/messagehistory/SpringMetricsMessageHistoryTest.xml
 
b/components/camel-micrometer/src/test/resources/org/apache/camel/component/micrometer/messagehistory/SpringMetricsMessageHistoryTest.xml
index e3abf71..84857ad 100644
--- 
a/components/camel-micrometer/src/test/resources/org/apache/camel/component/micrometer/messagehistory/SpringMetricsMessageHistoryTest.xml
+++ 
b/components/camel-micrometer/src/test/resources/org/apache/camel/component/micrometer/messagehistory/SpringMetricsMessageHistoryTest.xml
@@ -34,11 +34,11 @@
 
   <camelContext xmlns="http://camel.apache.org/schema/spring";>
     <route>
-      <from uri="seda:foo"/>
+      <from uri="direct:foo"/>
       <to uri="mock:foo" id="foo"/>
     </route>
     <route>
-      <from uri="seda:bar"/>
+      <from uri="direct:bar"/>
       <to uri="mock:bar" id="bar"/>
       <to uri="mock:baz" id="baz"/>
     </route>

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to