From 6bec2aabb5f85450fc2ae9ff2d350af138434759 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Thu, 19 Jul 2012 14:24:12 +0000 Subject: [PATCH] fix teardown order so close can do its thing git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363349 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/org/apache/activemq/bugs/AMQ2801Test.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java b/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java index 7ba2b615fd..3d5bbbdd42 100644 --- a/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java +++ b/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java @@ -105,12 +105,11 @@ public class AMQ2801Test @After public void tearDown() throws Exception { + conn1.close(); + conn2.close(); if (broker != null) { broker.stop(); } - - conn1.close(); - conn2.close(); } private void produceMessages() throws Exception {