Skip to content

Commit 6e201f9

Browse files
committed
[#2190] Upgrade CockroachDB to 24.1.15
1 parent e21e979 commit 6e201f9

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/CockroachDBDatabase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CockroachDBDatabase extends PostgreSQLDatabase {
2525
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
2626
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
2727
*/
28-
public static final CockroachContainer cockroachDb = new CockroachContainer( imageName( "cockroachdb/cockroach", "v24.1.0" ) )
28+
public static final CockroachContainer cockroachDb = new CockroachContainer( imageName( "cockroachdb/cockroach", "v24.1.15" ) )
2929
// Username, password and database are not supported by test container at the moment
3030
// Testcontainers will use a database named 'postgres' and the 'root' user
3131
.withReuse( true );

podman.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ configured to run the tests:
121121
```
122122
podman run --rm --name=HibernateTestingCockroachDB \
123123
--hostname=roachrr1 -p 26257:26257 -p 8080:8080 \
124-
docker.io/cockroachdb/cockroach:v24.1.0 start-single-node --insecure
124+
docker.io/cockroachdb/cockroach:v24.1.15 start-single-node --insecure
125125
```
126126

127127
Some of tests needs temporary tables and because this is an experimental feature in

tooling/jbang/CockroachDBReactiveTest.java.qute

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

7272
@ClassRule
73-
public final static CockroachContainer database = new CockroachContainer( imageName( "cockroachdb", "cockroach", "v24.1.0" ) );
73+
public final static CockroachContainer database = new CockroachContainer( imageName( "cockroachdb", "cockroach", "v24.1.15" ) );
7474

7575
private Mutiny.SessionFactory sessionFactory;
7676

tooling/jbang/ReactiveTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ enum Database {
232232
MYSQL( () -> new MySQLContainer( "mysql:9.2.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" ) ),
235-
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v24.1.0" ) );
235+
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v24.1.15" ) );
236236

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

0 commit comments

Comments
 (0)