Skip to content

Commit

Permalink
Fix postgresql-embedded under Linux (Ubuntu 17.10)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Apr 13, 2018
1 parent 6ba4182 commit 9dbef16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected void before() throws Throwable {
}

private static Path getCachePath() {
return Paths.get("target/postgresql");
return Paths.get(System.getProperty("java.io.tmpdir"), "pgembed");
}

private static String getDataDirectory(String database) {
Expand Down

0 comments on commit 9dbef16

Please sign in to comment.