activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject git commit: move derby test db to target/ so that mvn clean doesn't leave it behind
Date Tue, 04 Mar 2014 23:17:38 GMT
Repository: activemq
Updated Branches:
  refs/heads/trunk efcef4533 -> a7ff5975e


move derby test db to target/ so that mvn clean doesn't leave it behind


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

Branch: refs/heads/trunk
Commit: a7ff5975eecf2e8dd9eb27c1d67e9f1370a4de6c
Parents: efcef45
Author: Hadrian Zbarcea <hadrian@apache.org>
Authored: Tue Mar 4 18:17:28 2014 -0500
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Tue Mar 4 18:17:28 2014 -0500

----------------------------------------------------------------------
 .../src/test/java/org/apache/activemq/bugs/AMQ4952Test.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/a7ff5975/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
index 7f1c462..6a52e46 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4952Test.java
@@ -327,7 +327,7 @@ public class AMQ4952Test {
 
         JDBCPersistenceAdapter jdbc = new JDBCPersistenceAdapter();
         EmbeddedDataSource remoteDataSource = new EmbeddedDataSource();
-        remoteDataSource.setDatabaseName("derbyDBRemoteBroker");
+        remoteDataSource.setDatabaseName("target/derbyDBRemoteBroker");
         remoteDataSource.setCreateDatabase("create");
         jdbc.setDataSource(remoteDataSource);
         broker.setPersistenceAdapter(jdbc);
@@ -400,7 +400,7 @@ public class AMQ4952Test {
         // Persistence adapter
         JDBCPersistenceAdapter localJDBCPersistentAdapter = new JDBCPersistenceAdapter();
         EmbeddedDataSource localDataSource = new EmbeddedDataSource();
-        localDataSource.setDatabaseName("derbyDBLocalBroker");
+        localDataSource.setDatabaseName("target/derbyDBLocalBroker");
         localDataSource.setCreateDatabase("create");
         localJDBCPersistentAdapter.setDataSource(localDataSource);
         broker.setPersistenceAdapter(localJDBCPersistentAdapter);
@@ -502,4 +502,4 @@ public class AMQ4952Test {
             producerExchange.getConnectionContext().setDontSendReponse(true);
         }
     }
-}
\ No newline at end of file
+}


Mime
View raw message