Skip to content

Commit a609148

Browse files
committed
[#1847] Upgrade MySQL for testing to 8.3.0
1 parent 0aff9e9 commit a609148

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/tracking-orm-6.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# Label used to access the service container
4444
mysql:
4545
# Docker Hub image
46-
image: mysql:8.0.33
46+
image: mysql:8.3.0
4747
env:
4848
MYSQL_ROOT_PASSWORD: hreact
4949
MYSQL_DATABASE: hreact

.github/workflows/tracking-vertx-4.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# Label used to access the service container
4444
mysql:
4545
# Docker Hub image
46-
image: mysql:8.0.33
46+
image: mysql:8.3.0
4747
env:
4848
MYSQL_ROOT_PASSWORD: hreact
4949
MYSQL_DATABASE: hreact

hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers/MySQLDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class MySQLDatabase implements TestableDatabase {
8282
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
8383
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
8484
*/
85-
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "8.0.33") )
85+
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "8.3.0") )
8686
.withUsername( DatabaseConfiguration.USERNAME )
8787
.withPassword( DatabaseConfiguration.PASSWORD )
8888
.withDatabaseName( DatabaseConfiguration.DB_NAME )

podman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ and schema to run the tests:
9393
```
9494
podman run --rm --name HibernateTestingMySQL \
9595
-e MYSQL_ROOT_PASSWORD=hreact -e MYSQL_DATABASE=hreact -e MYSQL_USER=hreact -e MYSQL_PASSWORD=hreact \
96-
-p 3306:3306 docker.io/mysql:8.0.33
96+
-p 3306:3306 docker.io/mysql:8.3.0
9797
```
9898

9999
When the database has started, you can run the tests on MySQL with:

tooling/jbang/MySQLReactiveTest.java.qute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class {baseName} {
7272
}
7373

7474
@ClassRule
75-
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "8.0.33" ) );
75+
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "8.3.0" ) );
7676

7777
private Mutiny.SessionFactory sessionFactory;
7878

tooling/jbang/ReactiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public String toString() {
229229
*/
230230
enum Database {
231231
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:16.1" ) ),
232-
MYSQL( () -> new MySQLContainer( "mysql:8.0.33" ) ),
232+
MYSQL( () -> new MySQLContainer( "mysql:8.3.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/ibmcom/db2:11.5.8.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:10.11.3" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v22.2.10" ) );

0 commit comments

Comments
 (0)