mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55: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
|
@ServiceConnection
|
||||||
@Container
|
@Container
|
||||||
static MySQLContainer<?> container = new MySQLContainer<>("mysql:5.7");
|
static MySQLContainer<?> container = new MySQLContainer<>("mysql:8.0");
|
||||||
|
|
||||||
@LocalServerPort
|
@LocalServerPort
|
||||||
int port;
|
int port;
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class MysqlTestApplication {
|
||||||
@Profile("mysql")
|
@Profile("mysql")
|
||||||
@Bean
|
@Bean
|
||||||
static MySQLContainer<?> container() {
|
static MySQLContainer<?> container() {
|
||||||
return new MySQLContainer<>("mysql:5.7");
|
return new MySQLContainer<>("mysql:8.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
Loading…
Reference in a new issue