Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Update PostgreSQL (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvanek authored Apr 28, 2024
1 parent f5b7ead commit 4de3a47
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 @@ -25,7 +25,7 @@ public class DatabaseConfig {
@SuppressWarnings({"java:S2095", "java:S1452"})
@Bean(initMethod = "start", destroyMethod = "stop")
public JdbcDatabaseContainer<?> jdbcDatabaseContainer() {
return new PostgreSQLContainer<>("postgres:16.1")
return new PostgreSQLContainer<>("postgres:16.2")
.withDatabaseName("demo_for_pg_index_health")
.withUsername("demo_user")
.withPassword("myUniquePassword")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class IndexesMaintenanceTest extends BasePgIndexHealthDemoSpringBootTest {
void checkPostgresVersion() {
final String pgVersion = jdbcTemplate.queryForObject("select version();", String.class);
assertThat(pgVersion)
.startsWith("PostgreSQL 16.1");
.startsWith("PostgreSQL 16.2");
}

@Test
Expand Down

0 comments on commit 4de3a47

Please sign in to comment.