Skip to content

Commit 0de04c9

Browse files
committed
test: Upgrade MySQL to 9.3.0
1 parent 96b5186 commit 0de04c9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# Label used to access the service container
5151
mysql:
5252
# Docker Hub image
53-
image: mysql:9.2.0
53+
image: mysql:9.3.0
5454
env:
5555
MYSQL_ROOT_PASSWORD: hreact
5656
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
@@ -87,7 +87,7 @@ class MySQLDatabase implements TestableDatabase {
8787
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
8888
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
8989
*/
90-
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "9.2.0") )
90+
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "9.3.0") )
9191
.withUsername( DatabaseConfiguration.USERNAME )
9292
.withPassword( DatabaseConfiguration.PASSWORD )
9393
.withDatabaseName( DatabaseConfiguration.DB_NAME )

podman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ and schema to run the tests:
9494
```
9595
podman run --rm --name HibernateTestingMySQL \
9696
-e MYSQL_ROOT_PASSWORD=hreact -e MYSQL_DATABASE=hreact -e MYSQL_USER=hreact -e MYSQL_PASSWORD=hreact \
97-
-p 3306:3306 docker.io/mysql:9.2.0
97+
-p 3306:3306 docker.io/mysql:9.3.0
9898
```
9999

100100
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", "9.2.0" ) );
75+
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "9.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:17.5" ) ),
232-
MYSQL( () -> new MySQLContainer( "mysql:9.2.0" ) ),
232+
MYSQL( () -> new MySQLContainer( "mysql:9.3.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:12.1.0.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:11.7.2" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v24.1.15" ) );

0 commit comments

Comments
 (0)