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 9b18831 commit f797800
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 f797800

Please sign in to comment.