Skip to content

Commit

Permalink
[hibernate#1878] Upgrade MariaDB to 11.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Apr 15, 2024
1 parent c3daf3c commit 6d34a59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MariaDatabase extends MySQLDatabase {
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
*/
public static final MariaDBContainer<?> maria = new MariaDBContainer<>( imageName( "mariadb", "11.2.2" ) )
public static final MariaDBContainer<?> maria = new MariaDBContainer<>( imageName( "mariadb", "11.3.2" ) )
.withUsername( DatabaseConfiguration.USERNAME )
.withPassword( DatabaseConfiguration.PASSWORD )
.withDatabaseName( DatabaseConfiguration.DB_NAME )
Expand Down
2 changes: 1 addition & 1 deletion podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ and schema to run the tests:
```
podman run --rm --name HibernateTestingMariaDB \
-e MYSQL_ROOT_PASSWORD=hreact -e MYSQL_DATABASE=hreact -e MYSQL_USER=hreact -e MYSQL_PASSWORD=hreact \
-p 3306:3306 docker.io/mariadb:11.2.2
-p 3306:3306 docker.io/mariadb:11.3.2
```

When the database has started, you can run the tests on MariaDB with:
Expand Down
2 changes: 1 addition & 1 deletion tooling/jbang/MariaDBReactiveTest.java.qute
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class {baseName} {
}

@ClassRule
public final static MariaDBContainer<?> database = new MariaDBContainer<>( imageName( "docker.io", "mariadb", "11.2.2" ) );
public final static MariaDBContainer<?> database = new MariaDBContainer<>( imageName( "docker.io", "mariadb", "11.3.2" ) );

private Mutiny.SessionFactory sessionFactory;

Expand Down
2 changes: 1 addition & 1 deletion tooling/jbang/ReactiveTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ enum Database {
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:16.1" ) ),
MYSQL( () -> new MySQLContainer( "mysql:8.3.0" ) ),
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:11.5.9.0" ).acceptLicense() ),
MARIADB( () -> new MariaDBContainer( "mariadb:11.2.2" ) ),
MARIADB( () -> new MariaDBContainer( "mariadb:11.3.2" ) ),
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v23.1.14" ) );

private final Supplier<JdbcDatabaseContainer<?>> containerSupplier;
Expand Down

0 comments on commit 6d34a59

Please sign in to comment.