Skip to content

Commit 0b686ef

Browse files
committed
Upgrade PostgreSql Docker image to version 14.3
Closes #1267
1 parent e151a84 commit 0b686ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/testing/PostgresDataSourceConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected DataSource createDataSource() {
4444

4545
if (POSTGRESQL_CONTAINER == null) {
4646

47-
PostgreSQLContainer<?> container = new PostgreSQLContainer<>();
47+
PostgreSQLContainer<?> container = new PostgreSQLContainer<>("postgres:14.3");
4848
container.start();
4949

5050
POSTGRESQL_CONTAINER = container;

spring-data-r2dbc/src/test/java/org/springframework/data/r2dbc/testing/PostgresTestSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static ExternalDatabase testContainer() {
118118

119119
try {
120120
PostgreSQLContainer container = new PostgreSQLContainer(
121-
PostgreSQLContainer.IMAGE + ":" + PostgreSQLContainer.DEFAULT_TAG);
121+
"postgres:14.3");
122122
container.start();
123123

124124
testContainerDatabase = ProvidedDatabase.builder(container).database(container.getDatabaseName()).build();

0 commit comments

Comments
 (0)