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 | 3d844c3d128175b4a8ca3cf706a4d09d98b93586 (patch) | |
| tree | a6a3d4f142346f585aecf6c6a47f1a5f7d8d4737 | |
| parent | 864d27a492941e28c389fa5aa2edcc7004ca2a0e (diff) | |
| download | qpid-python-3d844c3d128175b4a8ca3cf706a4d09d98b93586.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/qpid@804814 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java b/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java index 14eec8daff..620b2a5161 100644 --- a/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java +++ b/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. |
