Closes #1267
@ -44,7 +44,7 @@ public class PostgresDataSourceConfiguration extends DataSourceConfiguration {
if (POSTGRESQL_CONTAINER == null) {
PostgreSQLContainer<?> container = new PostgreSQLContainer<>();
PostgreSQLContainer<?> container = new PostgreSQLContainer<>("postgres:14.3");
container.start();
POSTGRESQL_CONTAINER = container;
@ -118,7 +118,7 @@ public class PostgresTestSupport {
try {
PostgreSQLContainer container = new PostgreSQLContainer(
PostgreSQLContainer.IMAGE + ":" + PostgreSQLContainer.DEFAULT_TAG);
"postgres:14.3");
testContainerDatabase = ProvidedDatabase.builder(container).database(container.getDatabaseName()).build();