From 198dd34a9ea209a6993fe86e3cc1abd8d839ea4c Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Thu, 20 Mar 2008 16:00:25 +0000 Subject: [PATCH] Stop the to connection first to avoid hanging on error. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639332 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/java/org/apache/activemq/network/NetworkLoadTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java b/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java index 5a20ffe683..c0e83b99c2 100644 --- a/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java @@ -107,8 +107,8 @@ public class NetworkLoadTest extends TestCase { } public void stop() throws JMSException { + toConnection.stop(); fromConnection.stop(); - toConnection.stop(); } public void close() throws JMSException {