diff options
author | Martin Ritchie <ritchiem@apache.org> | 2009-08-16 23:17:28 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2009-08-16 23:17:28 +0000 |
commit | 885f0f1c1b3d57173bec807ab1d81961c1ab99e0 (patch) | |
tree | 6660544f185ec3e6b252c83d65220bc0cc782934 | |
parent | bab2f6f22626ad0b0d273b2e33d349aa4450f3b8 (diff) | |
download | qpid-python-885f0f1c1b3d57173bec807ab1d81961c1ab99e0.tar.gz |
Ensured AlertingTest cleans up after its run. So we don't have to ant clean between tests
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804814 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java index 14eec8daff..620b2a5161 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java +++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java @@ -65,6 +65,15 @@ public class AlertingTest extends AbstractTestLogging setupConnection(); } + @Override + public void tearDown() throws Exception + { + // Ensure queue is clean for next run. + drainQueue(_destination); + super.tearDown(); + } + + /** * Create a new connection and ensure taht our destination queue is created * and bound. |