You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/02/21 12:04:40 UTC
[camel] 11/11: CAMEL-14596: Fixed test
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b16a3928691c993c3ab324aff3714d627806283b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 21 12:08:59 2020 +0100
CAMEL-14596: Fixed test
---
.../org/apache/camel/processor/WireTapNoCacheTest.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/WireTapNoCacheTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/WireTapNoCacheTest.java
index 44e3dc9..a54913b 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/WireTapNoCacheTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/WireTapNoCacheTest.java
@@ -48,9 +48,9 @@ public class WireTapNoCacheTest extends ContextTestSupport {
// now send again with mocks which then add endpoints
- MockEndpoint x = getMockEndpoint("mock:x");
- MockEndpoint y = getMockEndpoint("mock:y");
- MockEndpoint z = getMockEndpoint("mock:z");
+ MockEndpoint x = getMockEndpoint("mock:x2");
+ MockEndpoint y = getMockEndpoint("mock:y2");
+ MockEndpoint z = getMockEndpoint("mock:z2");
x.expectedBodiesReceivedInAnyOrder("foo", "bar");
y.expectedBodiesReceivedInAnyOrder("foo", "bar");
@@ -58,12 +58,12 @@ public class WireTapNoCacheTest extends ContextTestSupport {
assertEquals(4, context.getEndpointRegistry().size());
- sendBody("foo", "mock:x");
- sendBody("foo", "mock:y");
- sendBody("foo", "mock:z");
- sendBody("bar", "mock:x");
- sendBody("bar", "mock:y");
- sendBody("bar", "mock:z");
+ sendBody("foo", "mock:x2");
+ sendBody("foo", "mock:y2");
+ sendBody("foo", "mock:z2");
+ sendBody("bar", "mock:x2");
+ sendBody("bar", "mock:y2");
+ sendBody("bar", "mock:z2");
// should not register as new endpoint so we keep at 4
sendBody("dummy", "mock:dummy");