From 28ed1ad03511da5cd637c9ce02dc1583e21cf83c Mon Sep 17 00:00:00 2001 From: IFERN1 Date: Sat, 20 May 2017 10:47:07 -0300 Subject: [PATCH] * RxJava upgraded to version 1.3.0 * Test running based on PostgreSQL v 9.6.2 --- pom.xml | 183 +++++++++--------- .../com/github/pgasync/impl/DatabaseRule.java | 4 +- 2 files changed, 94 insertions(+), 93 deletions(-) diff --git a/pom.xml b/pom.xml index 279735a..fce3351 100644 --- a/pom.xml +++ b/pom.xml @@ -1,102 +1,103 @@ - - 4.0.0 + + 4.0.0 - - org.sonatype.oss - oss-parent - 9 - + + org.sonatype.oss + oss-parent + 9 + - com.github.alaisi.pgasync - postgres-async-driver - 0.10-SNAPSHOT + com.github.alaisi.pgasync + postgres-async-driver + 0.10-SNAPSHOT - postgres-async-driver - Asynchronous PostgreSQL Java driver + postgres-async-driver + Asynchronous PostgreSQL Java driver - https://github.com/alaisi/postgres-async-driver - 2014 - - - Antti Laisi - https://github.com/alaisi - - - - - Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - + https://github.com/alaisi/postgres-async-driver + 2014 + + + Antti Laisi + https://github.com/alaisi + + + + + Apache License 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + + - - scm:git:git@github.com:alaisi/postgres-async-driver.git - scm:git:git@github.com:alaisi/postgres-async-driver.git - git@github.com:alaisi/postgres-async-driver.git - - - github - https://github.com/alaisi/postgres-async-driver/issues - + + scm:git:git@github.com:alaisi/postgres-async-driver.git + scm:git:git@github.com:alaisi/postgres-async-driver.git + git@github.com:alaisi/postgres-async-driver.git + + + github + https://github.com/alaisi/postgres-async-driver/issues + - - 3.3 - + + 3.3 + - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - - - org.codehaus.mojo - findbugs-maven-plugin - 3.0.4 - - true - Max - Low - - - - + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + org.codehaus.mojo + findbugs-maven-plugin + 3.0.4 + + true + Max + Low + + + + - - - io.netty - netty-handler - 4.1.6.Final - - - io.reactivex - rxjava - 1.2.1 - - - com.google.code.findbugs - annotations - 3.0.1u2 - provided - + + + io.netty + netty-handler + 4.1.11.Final + + + io.reactivex + rxjava + 1.3.0 + + + com.google.code.findbugs + annotations + 3.0.1u2 + provided + - - junit - junit - 4.12 - test - - - ru.yandex.qatools.embed - postgresql-embedded - 1.16 - test - - + + junit + junit + 4.12 + test + + + ru.yandex.qatools.embed + postgresql-embedded + 2.1 + test + + diff --git a/src/test/java/com/github/pgasync/impl/DatabaseRule.java b/src/test/java/com/github/pgasync/impl/DatabaseRule.java index df7fd87..fab12f0 100644 --- a/src/test/java/com/github/pgasync/impl/DatabaseRule.java +++ b/src/test/java/com/github/pgasync/impl/DatabaseRule.java @@ -2,7 +2,7 @@ import static java.lang.System.getenv; import static java.lang.System.out; -import static ru.yandex.qatools.embed.postgresql.distribution.Version.V9_5_0; +import static ru.yandex.qatools.embed.postgresql.distribution.Version.V9_6_2; import com.github.pgasync.ConnectionPool; import com.github.pgasync.ConnectionPoolBuilder; @@ -47,7 +47,7 @@ class DatabaseRule extends ExternalResource { try { PostgresStarter runtime = PostgresStarter.getDefaultInstance(); - PostgresConfig config = new PostgresConfig(V9_5_0, new AbstractPostgresConfig.Net(), + PostgresConfig config = new PostgresConfig(V9_6_2, new AbstractPostgresConfig.Net(), new AbstractPostgresConfig.Storage("async-pg"), new AbstractPostgresConfig.Timeout(), new AbstractPostgresConfig.Credentials("async-pg", "async-pg")); PostgresExecutable exec = runtime.prepare(config);