qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r966153 - /qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
Date Wed, 21 Jul 2010 09:24:27 GMT
Author: robbie
Date: Wed Jul 21 09:24:26 2010
New Revision: 966153

URL: http://svn.apache.org/viewvc?rev=966153&view=rev
Log:
QPID-2731: ensure the MessageStoreTest test store for Derby is created within the QPID_WORK
directory

Modified:
    qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java

Modified: qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java?rev=966153&r1=966152&r2=966153&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
(original)
+++ qpid/trunk/qpid/java/broker/src/test/java/org/apache/qpid/server/store/MessageStoreTest.java
Wed Jul 21 09:24:26 2010
@@ -85,7 +85,8 @@ public class MessageStoreTest extends In
     {
         PropertiesConfiguration config = new PropertiesConfiguration();
 
-        config.addProperty("store.environment-path", "derbyDB_MST");
+        config.addProperty("store.environment-path", 
+                            System.getProperty("QPID_WORK") + "/derbyDB_MessageStoreTest");
         config.addProperty("store.class", "org.apache.qpid.server.store.DerbyMessageStore");
 
         runTestWithStore(config);



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


Mime
View raw message