mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-05 10:01:13 +00:00
Updated db containers, and dependencies
This commit is contained in:
parent
2daa3993ee
commit
6fffe61b93
6 changed files with 17 additions and 15 deletions
|
|
@ -46,7 +46,7 @@ class MySqlIntegrationTests {
|
|||
|
||||
@ServiceConnection
|
||||
@Container
|
||||
static MySQLContainer<?> container = new MySQLContainer<>("mysql:8.4");
|
||||
static MySQLContainer<?> container = new MySQLContainer<>("mysql:9.0");
|
||||
|
||||
@LocalServerPort
|
||||
int port;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public class MysqlTestApplication {
|
|||
@Profile("mysql")
|
||||
@Bean
|
||||
static MySQLContainer<?> container() {
|
||||
return new MySQLContainer<>("mysql:8.4");
|
||||
return new MySQLContainer<>("mysql:9.0");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue