From 154e9d610d05271dbd2004d77c5d16a1fe8b1ae6 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Fri, 14 Aug 2015 00:44:36 -0400 Subject: [PATCH] fixing tests --- .../artemis/core/server/impl/LiveOnlyActivation.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LiveOnlyActivation.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LiveOnlyActivation.java index 11f860c2c4..0a6c07eb98 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LiveOnlyActivation.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LiveOnlyActivation.java @@ -84,6 +84,12 @@ public class LiveOnlyActivation extends Activation { scaleDownServerLocator.close(); scaleDownServerLocator = null; } + + try { + activeMQServer.getNodeManager().stop(); + } + catch (Throwable ignored) { + } } public void freezeConnections(RemotingService remotingService) {