Skip to content

Commit

Permalink
Allow creating new H2 databases in DatabaseInTimeZone
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Mar 3, 2019
1 parent 135c1a2 commit f65cf57
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -29,7 +29,7 @@ protected void before(Path tempDir) throws Exception {
String vmArguments = "-Duser.timezone=" + timeZone.getID();

ProcessBuilder pb = new ProcessBuilder(java, vmArguments, "-cp", h2jar.getAbsolutePath(), Server.class.getName(),
"-tcp", "-baseDir", tempDir.resolve("database-in-time-zone").toString());
"-tcp", "-ifNotExists", "-baseDir", tempDir.resolve("database-in-time-zone").toString());
process = pb.start();
}

Expand Down

0 comments on commit f65cf57

Please sign in to comment.