This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 88cd6dc [SPARK-28248][SQL][TEST] Upgrade docker image and library for
PostgreSQL integration test
88cd6dc is described below
commit 88cd6dc83d3ce664a93b827ee7a5b3b89495892e
Author: Yuming Wang <[email protected]>
AuthorDate: Fri Jul 5 00:43:28 2019 -0700
[SPARK-28248][SQL][TEST] Upgrade docker image and library for PostgreSQL
integration test
## What changes were proposed in this pull request?
This pr upgrades Postgres docker image for integration tests.
## How was this patch tested?
manual tests:
```
./build/mvn install -DskipTests
./build/mvn test -Pdocker-integration-tests -pl
:spark-docker-integration-tests_2.12
```
Closes #25050 from wangyum/SPARK-28248.
Authored-by: Yuming Wang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
b/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
index 7caf3d6..462f88f 100644
---
a/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
+++
b/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
@@ -29,7 +29,7 @@ import org.apache.spark.tags.DockerTest
@DockerTest
class PostgresIntegrationSuite extends DockerJDBCIntegrationSuite {
override val db = new DatabaseOnDocker {
- override val imageName = "postgres:9.4.5"
+ override val imageName = "postgres:11.4"
override val env = Map(
"POSTGRES_PASSWORD" -> "rootpass"
)
diff --git a/pom.xml b/pom.xml
index 88a3954..16d8fff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -896,7 +896,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
- <version>9.4.1207.jre7</version>
+ <version>42.2.6</version>
<scope>test</scope>
</dependency>
<dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]