Skip to content

Commit 161d7d5

Browse files
committed
[hibernate#1935] Upgrade MariaDB to 11.5.2
1 parent 7d362e9 commit 161d7d5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MariaDatabase extends MySQLDatabase {
2121
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
2222
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
2323
*/
24-
public static final MariaDBContainer<?> maria = new MariaDBContainer<>( imageName( "mariadb", "11.3.2" ) )
24+
public static final MariaDBContainer<?> maria = new MariaDBContainer<>( imageName( "mariadb", "11.4.2" ) )
2525
.withUsername( DatabaseConfiguration.USERNAME )
2626
.withPassword( DatabaseConfiguration.PASSWORD )
2727
.withDatabaseName( DatabaseConfiguration.DB_NAME )

podman.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ and schema to run the tests:
6666
```
6767
podman run --rm --name HibernateTestingMariaDB \
6868
-e MYSQL_ROOT_PASSWORD=hreact -e MYSQL_DATABASE=hreact -e MYSQL_USER=hreact -e MYSQL_PASSWORD=hreact \
69-
-p 3306:3306 docker.io/mariadb:11.3.2
69+
-p 3306:3306 docker.io/mariadb:11.4.2
7070
```
7171

7272
When the database has started, you can run the tests on MariaDB with:

tooling/jbang/MariaDBReactiveTest.java.qute

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class {baseName} {
6969
}
7070

7171
@ClassRule
72-
public final static MariaDBContainer<?> database = new MariaDBContainer<>( imageName( "docker.io", "mariadb", "11.3.2" ) );
72+
public final static MariaDBContainer<?> database = new MariaDBContainer<>( imageName( "docker.io", "mariadb", "11.4.2" ) );
7373

7474
private Mutiny.SessionFactory sessionFactory;
7575

tooling/jbang/ReactiveTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ enum Database {
231231
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:16.3" ) ),
232232
MYSQL( () -> new MySQLContainer( "mysql:8.4.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:11.5.9.0" ).acceptLicense() ),
234-
MARIADB( () -> new MariaDBContainer( "mariadb:11.3.2" ) ),
234+
MARIADB( () -> new MariaDBContainer( "mariadb:11.4.2" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v23.1.17" ) );
236236

237237
private final Supplier<JdbcDatabaseContainer<?>> containerSupplier;

0 commit comments

Comments
 (0)