Skip to content

Commit ed6c22b

Browse files
committed
[#1306] Upgrade MariaDB docker image to 10.7.3
1 parent 540c4c1 commit ed6c22b

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class MariaDatabase extends MySQLDatabase {
1919
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
2020
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
2121
*/
22-
public static final VertxMariaContainer maria = new VertxMariaContainer( imageName( "mariadb", "10.7.1" ) )
22+
public static final VertxMariaContainer maria = new VertxMariaContainer( imageName( "mariadb", "10.7.3" ) )
2323
.withUsername( DatabaseConfiguration.USERNAME )
2424
.withPassword( DatabaseConfiguration.PASSWORD )
2525
.withDatabaseName( DatabaseConfiguration.DB_NAME )

podman.md

Lines changed: 1 addition & 1 deletion
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 mariadb:10.7.1
69+
-p 3306:3306 mariadb:10.7.3
7070
```
7171

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

tooling/jbang/MariaDBReactiveTest.java.qute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import static org.assertj.core.api.Assertions.assertThat;
6262
public class {baseName} {
6363

6464
@ClassRule
65-
public static MariaDBContainer<?> database = new MariaDBContainer<>( "mariadb:10.7.1" );
65+
public static MariaDBContainer<?> database = new MariaDBContainer<>( "mariadb:10.7.3" );
6666

6767
private Mutiny.SessionFactory sessionFactory;
6868

tooling/jbang/ReactiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ enum Database {
231231
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:14" ) ),
232232
MYSQL( () -> new MySQLContainer( "mysql:8.0.28" ) ),
233233
DB2( () -> new Db2Container( "docker.io/ibmcom/db2:11.5.7.0a" ).acceptLicense() ),
234-
MARIADB( () -> new MariaDBContainer( "mariadb:10.7.1" ) ),
234+
MARIADB( () -> new MariaDBContainer( "mariadb:10.7.3" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v21.2.4" ) );
236236

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

0 commit comments

Comments
 (0)