qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r804814 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java
Date Sun, 16 Aug 2009 23:17:29 GMT
Author: ritchiem
Date: Sun Aug 16 23:17:28 2009
New Revision: 804814

URL: http://svn.apache.org/viewvc?rev=804814&view=rev
Log:
Ensured AlertingTest cleans up after its run. So we don't have to ant clean between tests

Modified:
    qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java

Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java?rev=804814&r1=804813&r2=804814&view=diff
==============================================================================
--- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java
(original)
+++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AlertingTest.java
Sun Aug 16 23:17:28 2009
@@ -65,6 +65,15 @@
         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.



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message