You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2016/11/01 18:51:55 UTC

activemq git commit: Test execution artifacts produced in ./target, so that clean runs cleanly

Repository: activemq
Updated Branches:
  refs/heads/master 5c80eda32 -> a6e35a651


Test execution artifacts produced in ./target, so that clean runs cleanly


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/a6e35a65
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/a6e35a65
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/a6e35a65

Branch: refs/heads/master
Commit: a6e35a6512824ba67463b3f5968a0878677b7ce8
Parents: 5c80eda
Author: Hadrian Zbarcea <ha...@apache.org>
Authored: Tue Nov 1 14:47:00 2016 -0400
Committer: Hadrian Zbarcea <ha...@apache.org>
Committed: Tue Nov 1 14:48:12 2016 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java   | 2 ++
 activemq-unit-tests/src/test/resources/handleReplyToActivemq.xml   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/a6e35a65/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
----------------------------------------------------------------------
diff --git a/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java b/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
index 9e13a24..0097341 100644
--- a/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
+++ b/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
@@ -21,6 +21,7 @@ import org.apache.commons.io.FileUtils;
 import org.junit.After;
 import org.junit.Test;
 
+import java.io.File;
 import java.net.BindException;
 import java.net.InetSocketAddress;
 import java.net.Socket;
@@ -41,6 +42,7 @@ public class MasterLevelDBStoreTest {
     @Test(timeout = 1000*60*10)
     public void testStoppingStoreStopsTransport() throws Exception {
         store = new MasterLevelDBStore();
+        store.setDirectory(new File("target/activemq-data/master-leveldb-store-test"));
         store.setReplicas(0);
 
         ExecutorService threads = Executors.newFixedThreadPool(1);

http://git-wip-us.apache.org/repos/asf/activemq/blob/a6e35a65/activemq-unit-tests/src/test/resources/handleReplyToActivemq.xml
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/resources/handleReplyToActivemq.xml b/activemq-unit-tests/src/test/resources/handleReplyToActivemq.xml
index 5986fd6..b40cc59 100644
--- a/activemq-unit-tests/src/test/resources/handleReplyToActivemq.xml
+++ b/activemq-unit-tests/src/test/resources/handleReplyToActivemq.xml
@@ -21,7 +21,7 @@
   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
   http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
 
-    <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}">
+    <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="target/activemq-data/handle-replyto">
 
     <jmsBridgeConnectors>
       <jmsQueueConnector>