From 9d0e3839f6504de791d68e2f23b939fcb84d5d6e Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Thu, 11 Oct 2007 11:28:36 +0000 Subject: QPID-632 ImmediateMessageTest may not have sufficient time to see the exception. Performing the close before checking for exceptions should give it this time. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@583776 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/qpid/test/framework/localcircuit/LocalCircuitImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'java') diff --git a/java/systests/src/main/java/org/apache/qpid/test/framework/localcircuit/LocalCircuitImpl.java b/java/systests/src/main/java/org/apache/qpid/test/framework/localcircuit/LocalCircuitImpl.java index 38b7758e7c..010669a7c2 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/framework/localcircuit/LocalCircuitImpl.java +++ b/java/systests/src/main/java/org/apache/qpid/test/framework/localcircuit/LocalCircuitImpl.java @@ -406,12 +406,12 @@ public class LocalCircuitImpl implements Circuit // Request a status report. check(); - // Apply all of the requested assertions, keeping record of any that fail. - List failures = applyAssertions(assertions); - // Clean up the publisher/receivers/controlSession/connections. close(); + // Apply all of the requested assertions, keeping record of any that fail. + List failures = applyAssertions(assertions); + // Return any failed assertions to the caller. return failures; } -- cgit v1.2.1