summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2009-08-19 13:21:54 +0000
committerAidan Skinner <aidan@apache.org>2009-08-19 13:21:54 +0000
commit6e2fb76ac02888879da0bc6aadd62c4178d27c5b (patch)
tree62aee9726cd5f9a915ec645487bee33dacf0bffe /java
parent009b30ec6d9f11b94cbce36d32f33ac9b3583198 (diff)
downloadqpid-python-6e2fb76ac02888879da0bc6aadd62c4178d27c5b.tar.gz
QPID-2049: close the connection after checking the log file, giving the broker enough time to start and suspend the connection.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805795 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java b/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java
index d7209c5660..002eadf8a3 100644
--- a/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java
@@ -342,8 +342,6 @@ public class SubscriptionLoggingTest extends AbstractTestLogging
_session.commit();
- _connection.close();
-
//Validate
List<String> results = _monitor.findMatches("SUB-1003");
@@ -396,6 +394,7 @@ public class SubscriptionLoggingTest extends AbstractTestLogging
}
throw afe;
}
+ _connection.close();
}