mirror of https://github.com/apache/activemq.git
move derby test db to target/ so that mvn clean doesn't leave it behind
This commit is contained in:
parent
efcef4533e
commit
a7ff5975ee
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue