Skip to content

Commit

Permalink
[hibernate#1878] Update CockroachDB to v23.1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Apr 15, 2024
1 parent 6d34a59 commit 2b3dd78
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 @@ -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", "v23.1.14" ) )
public static final CockroachContainer cockroachDb = new CockroachContainer( imageName( "cockroachdb/cockroach", "v23.1.17" ) )
// 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 \
docker.io/cockroachdb/cockroach:v23.1.14 start-single-node --insecure
docker.io/cockroachdb/cockroach:v23.1.17 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", "v23.1.14" ) );
public final static CockroachContainer database = new CockroachContainer( imageName( "cockroachdb", "cockroach", "v23.1.17" ) );

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.3.0" ) ),
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:11.5.9.0" ).acceptLicense() ),
MARIADB( () -> new MariaDBContainer( "mariadb:11.3.2" ) ),
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v23.1.14" ) );
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v23.1.17" ) );

private final Supplier<JdbcDatabaseContainer<?>> containerSupplier;

Expand Down

0 comments on commit 2b3dd78

Please sign in to comment.