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


The following commit(s) were added to refs/heads/master by this push:
     new 359ffbe  Fixed tests
359ffbe is described below

commit 359ffbe43df544872ec3c7f11a158cb2bed8f138
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Mar 14 17:19:50 2020 +0100

    Fixed tests
---
 .../apache/camel/processor/aggregator/AbstractDistributedTest.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AbstractDistributedTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AbstractDistributedTest.java
index 0ca073d..62d9d7c 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AbstractDistributedTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AbstractDistributedTest.java
@@ -40,7 +40,8 @@ public abstract class AbstractDistributedTest extends 
ContextTestSupport {
         context2 = new DefaultCamelContext();
         context2.setUseMDCLogging(true);
         template2 = context2.createProducerTemplate();
-        ServiceHelper.startService(template2, context2);
+        context2.start();
+        template2.start();
 
         // add routes after CamelContext has been started
         context2.addRoutes(createRouteBuilder2());
@@ -49,7 +50,8 @@ public abstract class AbstractDistributedTest extends 
ContextTestSupport {
     @Override
     @After
     public void tearDown() throws Exception {
-        ServiceHelper.stopAndShutdownServices(context2, template2);
+        context2.stop();
+        template2.stop();
 
         super.tearDown();
     }

Reply via email to