Skip to content

Commit

Permalink
[SPARK-28248][SQL][TEST] Upgrade docker image and library for Postgre…
Browse files Browse the repository at this point in the history
…SQL 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 <yumwang@ebay.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
  • Loading branch information
wangyum authored and dongjoon-hyun committed Jul 5, 2019
1 parent 5c55812 commit 88cd6dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 88cd6dc

Please sign in to comment.