You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2022/04/14 08:39:00 UTC
[camel] 01/01: CAMEL-17948: Fix regression in WsProducerConsumerTest
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch CAMEL-17948/fix-test-failures
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 19bb4d9b6a9395ebf6e83e23ff16c3212fe13641
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Thu Apr 14 10:37:21 2022 +0200
CAMEL-17948: Fix regression in WsProducerConsumerTest
---
.../java/org/apache/camel/component/ahc/ws/WsProducerConsumerTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/components/camel-ahc-ws/src/test/java/org/apache/camel/component/ahc/ws/WsProducerConsumerTest.java b/components/camel-ahc-ws/src/test/java/org/apache/camel/component/ahc/ws/WsProducerConsumerTest.java
index 94b567d251b..c6e18ef4a65 100644
--- a/components/camel-ahc-ws/src/test/java/org/apache/camel/component/ahc/ws/WsProducerConsumerTest.java
+++ b/components/camel-ahc-ws/src/test/java/org/apache/camel/component/ahc/ws/WsProducerConsumerTest.java
@@ -150,13 +150,12 @@ public class WsProducerConsumerTest extends CamelTestSupport {
mock.expectedBodiesReceived(TEST_CONNECTED_MESSAGE);
mock.assertIsSatisfied();
+ resetMocks();
LOG.info("Restarting Test Server");
stopTestServer();
startTestServer();
- resetMocks();
-
mock.expectedBodiesReceived(TEST_CONNECTED_MESSAGE);
mock.assertIsSatisfied();