Skip to content

Commit 4afb232

Browse files
committed
[hibernate#1935] Upgrade CockroachDB to v24.1.0
1 parent 22a071a commit 4afb232

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Hibernate Reactive has been tested with:
3333
- PostgreSQL 16
3434
- MySQL 8
3535
- MariaDB 11
36-
- CockroachDB v23.1
3736
- Db2 11
37+
- CockroachDB v24
3838
- MS SQL Server 2022
3939
- Oracle 23
4040
- [Hibernate ORM][] 6.5.2.Final

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", "v23.1.17" ) )
28+
public static final CockroachContainer cockroachDb = new CockroachContainer( imageName( "cockroachdb/cockroach", "v24.1.0" ) )
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
@@ -120,7 +120,7 @@ configured to run the tests:
120120
```
121121
podman run --rm --name=HibernateTestingCockroachDB \
122122
--hostname=roachrr1 -p 26257:26257 -p 8080:8080 \
123-
docker.io/cockroachdb/cockroach:v23.1.17 start-single-node --insecure
123+
docker.io/cockroachdb/cockroach:v24.1.0 start-single-node --insecure
124124
```
125125

126126
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", "v23.1.17" ) );
73+
public final static CockroachContainer database = new CockroachContainer( imageName( "cockroachdb", "cockroach", "v24.1.0" ) );
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:8.4.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:11.5.9.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:11.4.2" ) ),
235-
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v23.1.17" ) );
235+
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v24.1.0" ) );
236236

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

0 commit comments

Comments
 (0)