From dcee2bd5c45b458eb4a9548066c83c7831f24c31 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Thu, 17 Jul 2014 20:50:20 -0700 Subject: [PATCH] Adding dstest manual creation, not letting derby create it --- .../java/org/eclipse/jetty/DataSourceLoginServiceTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-loginservice/src/test/java/org/eclipse/jetty/DataSourceLoginServiceTest.java b/tests/test-loginservice/src/test/java/org/eclipse/jetty/DataSourceLoginServiceTest.java index 45c748486b5..d8422e512ff 100644 --- a/tests/test-loginservice/src/test/java/org/eclipse/jetty/DataSourceLoginServiceTest.java +++ b/tests/test-loginservice/src/test/java/org/eclipse/jetty/DataSourceLoginServiceTest.java @@ -76,6 +76,9 @@ public class DataSourceLoginServiceTest System.setProperty("derby.system.home", dbPath); FS.ensureEmpty(_dbRoot); + File dstest = new File(_dbRoot, "dstest"); + FS.ensureEmpty(dstest); + File scriptFile = MavenTestingUtils.getTestResourceFile("createdb.sql"); DatabaseLoginServiceTestServer.createDB(dbPath, scriptFile, "jdbc:derby:dstest;create=true");