Skip to content

Commit

Permalink
Fix testcontainers + MySQL bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Nov 5, 2024
1 parent b50a9d1 commit e6f8a2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.17.3</version>
<version>1.20.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -703,7 +703,7 @@
</requireMavenVersion>
<requireJavaVersion>
<message>You are running an incompatible version of Java. JHipster supports JDK 8 to 13.</message>
<version>[1.8,21)</version>
<version>[1.8,24)</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ spring:
name: jhonline
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:tc:mysql:8:///jhipster-online?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver
url: jdbc:tc:mysql:8.2.0:///jhipster-online?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
username: test
password:
hikari:
Expand Down

0 comments on commit e6f8a2b

Please sign in to comment.