Skip to content

Commit 2c902f8

Browse files
committed
[#1878] Upgrade PostgreSQL to 16.2
1 parent 873baa0 commit 2c902f8

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers/PostgreSQLDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class PostgreSQLDatabase implements TestableDatabase {
8787
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
8888
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
8989
*/
90-
public static final PostgreSQLContainer<?> postgresql = new PostgreSQLContainer<>( imageName( "postgres", "16.1" ) )
90+
public static final PostgreSQLContainer<?> postgresql = new PostgreSQLContainer<>( imageName( "postgres", "16.2" ) )
9191
.withUsername( DatabaseConfiguration.USERNAME )
9292
.withPassword( DatabaseConfiguration.PASSWORD )
9393
.withDatabaseName( DatabaseConfiguration.DB_NAME )

integration-tests/bytecode-enhancements-it/src/test/java/org/hibernate/reactive/it/BaseReactiveIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public abstract class BaseReactiveIT {
5353
public static final boolean USE_DOCKER = Boolean.getBoolean( "docker" );
5454

5555
public static final DockerImageName IMAGE_NAME = DockerImageName
56-
.parse( "docker.io/postgres:16.1" )
56+
.parse( "docker.io/postgres:16.2" )
5757
.asCompatibleSubstituteFor( "postgres" );
5858

5959
public static final String USERNAME = "hreact";

integration-tests/verticle-postgres-it/src/main/java/org/hibernate/reactive/it/verticle/VertxServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class VertxServer {
3636
// These properties are in DatabaseConfiguration in core
3737
public static final boolean USE_DOCKER = Boolean.getBoolean( "docker" );
3838

39-
public static final String IMAGE_NAME = "postgres:16.1";
39+
public static final String IMAGE_NAME = "postgres:16.2";
4040
public static final String USERNAME = "hreact";
4141
public static final String PASSWORD = "hreact";
4242
public static final String DB_NAME = "hreact";

podman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ required credentials and schema to run the tests:
3838
```
3939
podman run --rm --name HibernateTestingPGSQL \
4040
-e POSTGRES_USER=hreact -e POSTGRES_PASSWORD=hreact -e POSTGRES_DB=hreact \
41-
-p 5432:5432 docker.io/postgres:16.1
41+
-p 5432:5432 docker.io/postgres:16.2
4242
```
4343

4444
When the database has started, you can run the tests on PostgreSQL with:

tooling/jbang/Example.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* <pre>
6060
* podman run --rm --name HibernateTestingPGSQL \
6161
* -e POSTGRES_USER=hreact -e POSTGRES_PASSWORD=hreact -e POSTGRES_DB=hreact \
62-
* -p 5432:5432 postgres:16.1
62+
* -p 5432:5432 postgres:16.2
6363
* </pre>
6464
* </dd>
6565
* <dt>3. Run the example with JBang</dt>

tooling/jbang/PostgreSQLReactiveTest.java.qute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class {baseName} {
6767
}
6868

6969
@ClassRule
70-
public final static PostgreSQLContainer database = new PostgreSQLContainer( imageName( "docker.io", "postgres", "16.1" ) );
70+
public final static PostgreSQLContainer database = new PostgreSQLContainer( imageName( "docker.io", "postgres", "16.2" ) );
7171

7272
private Mutiny.SessionFactory sessionFactory;
7373

tooling/jbang/ReactiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public String toString() {
228228
* It's a wrapper around the testcontainers classes.
229229
*/
230230
enum Database {
231-
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:16.1" ) ),
231+
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:16.2" ) ),
232232
MYSQL( () -> new MySQLContainer( "mysql:8.3.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:11.5.9.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:11.3.2" ) ),

0 commit comments

Comments
 (0)