Skip to content

Commit 88cd6dc

Browse files
wangyumdongjoon-hyun
authored andcommitted
[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 apache#25050 from wangyum/SPARK-28248. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 5c55812 commit 88cd6dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import org.apache.spark.tags.DockerTest
2929
@DockerTest
3030
class PostgresIntegrationSuite extends DockerJDBCIntegrationSuite {
3131
override val db = new DatabaseOnDocker {
32-
override val imageName = "postgres:9.4.5"
32+
override val imageName = "postgres:11.4"
3333
override val env = Map(
3434
"POSTGRES_PASSWORD" -> "rootpass"
3535
)

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@
896896
<dependency>
897897
<groupId>org.postgresql</groupId>
898898
<artifactId>postgresql</artifactId>
899-
<version>9.4.1207.jre7</version>
899+
<version>42.2.6</version>
900900
<scope>test</scope>
901901
</dependency>
902902
<dependency>

0 commit comments

Comments
 (0)