summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-10-11 11:28:36 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-10-11 11:28:36 +0000
commit9d0e3839f6504de791d68e2f23b939fcb84d5d6e (patch)
tree95839c512323981d6f00fdf07d274d2483aaf0d6 /java
parentac8a0a2d65f07f4c24821c8b3170fa3363f294da (diff)
downloadqpid-python-9d0e3839f6504de791d68e2f23b939fcb84d5d6e.tar.gz
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
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/framework/localcircuit/LocalCircuitImpl.java6
1 files changed, 3 insertions, 3 deletions
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<Assertion> failures = applyAssertions(assertions);
-
// Clean up the publisher/receivers/controlSession/connections.
close();
+ // Apply all of the requested assertions, keeping record of any that fail.
+ List<Assertion> failures = applyAssertions(assertions);
+
// Return any failed assertions to the caller.
return failures;
}