Skip to content

Commit

Permalink
Switch to PostgreSQL 15.3 in Testcontainers configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmihalcea committed Jun 5, 2023
1 parent e972738 commit b5ba7e7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum Database {
POSTGRESQL {
@Override
protected JdbcDatabaseContainer newJdbcDatabaseContainer() {
return new PostgreSQLContainer("postgres:13.7");
return new PostgreSQLContainer("postgres:15.3");
}
},
ORACLE {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum Database {
POSTGRESQL {
@Override
protected JdbcDatabaseContainer newJdbcDatabaseContainer() {
return new PostgreSQLContainer("postgres:13.7");
return new PostgreSQLContainer("postgres:15.3");
}
},
ORACLE {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum Database {
POSTGRESQL {
@Override
protected JdbcDatabaseContainer newJdbcDatabaseContainer() {
return new PostgreSQLContainer("postgres:13.7");
return new PostgreSQLContainer("postgres:15.3");
}
},
ORACLE {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ protected String defaultJdbcUrl() {
return "jdbc:mysql://localhost/high_performance_java_persistence?useSSL=false";
}

@Override
protected DataSource newDataSource() {
try {
MysqlDataSource dataSource = new MysqlDataSource();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum Database {
POSTGRESQL {
@Override
protected JdbcDatabaseContainer newJdbcDatabaseContainer() {
return new PostgreSQLContainer("postgres:13.7");
return new PostgreSQLContainer("postgres:15.3");
}
},
ORACLE {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum Database {
POSTGRESQL {
@Override
protected JdbcDatabaseContainer newJdbcDatabaseContainer() {
return new PostgreSQLContainer("postgres:13.7");
return new PostgreSQLContainer("postgres:15.3");
}
},
ORACLE {
Expand Down

0 comments on commit b5ba7e7

Please sign in to comment.