diff --git a/pom.xml b/pom.xml index 049af42..4e61668 100644 --- a/pom.xml +++ b/pom.xml @@ -55,8 +55,9 @@ ru.yandex.qatools.embed postgresql-embedded - 2.6 + 2.9 + diff --git a/r2dbc-postgresql/src/test/java/com/nebhale/r2dbc/postgresql/util/PostgresqlServerResource.java b/r2dbc-postgresql/src/test/java/com/nebhale/r2dbc/postgresql/util/PostgresqlServerResource.java index c9676f1..f0d39ab 100644 --- a/r2dbc-postgresql/src/test/java/com/nebhale/r2dbc/postgresql/util/PostgresqlServerResource.java +++ b/r2dbc-postgresql/src/test/java/com/nebhale/r2dbc/postgresql/util/PostgresqlServerResource.java @@ -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) {