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:
Gary Tully 2010-10-26 10:25:18 +00:00
parent 8262eec63d
commit 107509fac3
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ public class JDBCMessagePriorityTest extends MessagePriorityTest {
EmbeddedDataSource dataSource = new EmbeddedDataSource();
dataSource.setDatabaseName("derbyDb");
dataSource.setCreateDatabase("create");
dataSource.setShutdownDatabase("false");
jdbc.setDataSource(dataSource);
jdbc.deleteAllMessages();
jdbc.setCleanupPeriod(1000);