mirror of https://github.com/apache/activemq.git
ensure datasource is not shutdown for setup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027447 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8262eec63d
commit
107509fac3
|
@ -37,6 +37,7 @@ public class JDBCMessagePriorityTest extends MessagePriorityTest {
|
||||||
EmbeddedDataSource dataSource = new EmbeddedDataSource();
|
EmbeddedDataSource dataSource = new EmbeddedDataSource();
|
||||||
dataSource.setDatabaseName("derbyDb");
|
dataSource.setDatabaseName("derbyDb");
|
||||||
dataSource.setCreateDatabase("create");
|
dataSource.setCreateDatabase("create");
|
||||||
|
dataSource.setShutdownDatabase("false");
|
||||||
jdbc.setDataSource(dataSource);
|
jdbc.setDataSource(dataSource);
|
||||||
jdbc.deleteAllMessages();
|
jdbc.deleteAllMessages();
|
||||||
jdbc.setCleanupPeriod(1000);
|
jdbc.setCleanupPeriod(1000);
|
||||||
|
|
Loading…
Reference in New Issue