mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
Use MySQL 8.0 in integration tests
This commit is contained in:
parent
923e2b7aa3
commit
d42614efb0
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ class MySqlIntegrationTests {
|
|||
|
||||
@ServiceConnection
|
||||
@Container
|
||||
static MySQLContainer<?> container = new MySQLContainer<>("mysql:5.7");
|
||||
static MySQLContainer<?> container = new MySQLContainer<>("mysql:8.0");
|
||||
|
||||
@LocalServerPort
|
||||
int port;
|
||||
|
|
|
@ -36,7 +36,7 @@ public class MysqlTestApplication {
|
|||
@Profile("mysql")
|
||||
@Bean
|
||||
static MySQLContainer<?> container() {
|
||||
return new MySQLContainer<>("mysql:5.7");
|
||||
return new MySQLContainer<>("mysql:8.0");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
Loading…
Reference in a new issue