Skip to content

Commit

Permalink
[hibernate#1407] Upgrade Cockroach to 22.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Oct 18, 2022
1 parent d112222 commit 305270a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Hibernate Reactive has been tested with:
- MySQL 8
- MariaDB 10
- Db2 11.5
- CockroachDB 21.2
- CockroachDB 22.1
- MS SQL Server 2019
- Oracle 21.3
- [Hibernate ORM][] 5.6.12.Final
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CockroachDBDatabase extends PostgreSQLDatabase {
* 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 CockroachContainer cockroachDb = new CockroachContainer( imageName( "cockroachdb/cockroach", "v21.2.14" ) )
public static final CockroachContainer cockroachDb = new CockroachContainer( imageName( "cockroachdb/cockroach", "v22.1.9" ) )
// Username, password and database are not supported by test container at the moment
// Testcontainers will use a database named 'postgres' and the 'root' user
.withReuse( true );
Expand Down
2 changes: 1 addition & 1 deletion podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ configured to run the tests:
```
podman run --rm --name=HibernateTestingCockroachDB \
--hostname=roachrr1 -p 26257:26257 -p 8080:8080 \
cockroachdb/cockroach:v21.2.4 start-single-node --insecure
cockroachdb/cockroach:v22.1.9 start-single-node --insecure
```

Some of tests needs temporary tables and because this is an experimental feature in
Expand Down
2 changes: 1 addition & 1 deletion tooling/jbang/CockroachDBReactiveTest.java.qute
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class {baseName} {
}

@ClassRule
public final static CockroachContainer database = new CockroachContainer( imageName( "cockroachdb", "cockroach", "v21.2.4" ) );
public final static CockroachContainer database = new CockroachContainer( imageName( "cockroachdb", "cockroach", "v22.1.9" ) );

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 @@ -232,7 +232,7 @@ enum Database {
MYSQL( () -> new MySQLContainer( "mysql:8.0.31" ) ),
DB2( () -> new Db2Container( "docker.io/ibmcom/db2:11.5.7.0a" ).acceptLicense() ),
MARIADB( () -> new MariaDBContainer( "mariadb:10.9.3" ) ),
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v21.2.4" ) );
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v22.1.9" ) );

private final Supplier<JdbcDatabaseContainer<?>> containerSupplier;

Expand Down

0 comments on commit 305270a

Please sign in to comment.