Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against PostgreSQL 10 since 9.x is now unsupported #11155

Merged
merged 1 commit into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class TestingPostgreSqlServer
public TestingPostgreSqlServer()
{
// Use the oldest supported PostgreSQL version
dockerContainer = new PostgreSQLContainer<>("postgres:10")
dockerContainer = new PostgreSQLContainer<>("postgres:10.20")
.withDatabaseName(DATABASE)
.withUsername(USER)
.withPassword(PASSWORD)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class TestDbResourceGroupsPostgresqlFlywayMigration
@Override
protected final JdbcDatabaseContainer<?> startContainer()
{
JdbcDatabaseContainer<?> container = new PostgreSQLContainer<>("postgres:9.6");
JdbcDatabaseContainer<?> container = new PostgreSQLContainer<>("postgres:10.20");
container.start();
return container;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void extendEnvironment(Environment.Builder builder)
private DockerContainer createPostgreSql()
{
// Use the oldest supported PostgreSQL version
DockerContainer container = new DockerContainer("postgres:9.6", "postgresql")
DockerContainer container = new DockerContainer("postgres:10.20", "postgresql")
.withEnv("POSTGRES_PASSWORD", "test")
.withEnv("POSTGRES_USER", "test")
.withEnv("POSTGRES_DB", "test")
Expand Down