You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2009/08/13 13:09:13 UTC

svn commit: r803842 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DerbyMessageStoreLoggingTest.java

Author: ritchiem
Date: Thu Aug 13 11:09:13 2009
New Revision: 803842

URL: http://svn.apache.org/viewvc?rev=803842&view=rev
Log:
QPID-2002 : Update to DMSLT.testQueueRecoveryCountEmpty which reuses a previous test for validation. However, it did not stop the active broker before running that test so the DerbyMS threw an exception preventing startup and so testing."

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

Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DerbyMessageStoreLoggingTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DerbyMessageStoreLoggingTest.java?rev=803842&r1=803841&r2=803842&view=diff
==============================================================================
--- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DerbyMessageStoreLoggingTest.java (original)
+++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/DerbyMessageStoreLoggingTest.java Thu Aug 13 11:09:13 2009
@@ -428,6 +428,9 @@
 
         session.createConsumer(queue).close();
 
+        // Stop the broker so that we can test recovery
+        stopBroker();
+
         int COUNT = 0;
         testDurableRecoveryCount(COUNT, queueName);
     }



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