From a7ff5975eecf2e8dd9eb27c1d67e9f1370a4de6c Mon Sep 17 00:00:00 2001 From: Hadrian Zbarcea Date: Tue, 4 Mar 2014 18:17:28 -0500 Subject: [PATCH] move derby test db to target/ so that mvn clean doesn't leave it behind --- .../src/test/java/org/apache/activemq/bugs/AMQ4952Test.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 7f1c462124..6a52e46bba 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 +}