File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,8 @@ don't need to create the test databases manually. Just type:
188188
189189 ./gradlew test -Pdocker
190190
191+ The above command will start a PostgreSQL instance, which is the default target.
192+
191193Or:
192194
193195 ./gradlew test -Pdocker -Pdb=mysql
200202
201203 ./gradlew test -Pdocker -Pdb=db2
202204
205+ Or:
206+
207+ ./gradlew test -Pdocker -Pdb=oracle
208+
203209The tests will run faster if you reuse the same containers across
204210multiple test runs. To do this, edit the testcontainers configuration
205211file ` .testcontainers.properties ` in your home directory, adding the
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class OracleDatabase implements TestableDatabase {
8282 }
8383 }
8484
85- public static final OracleContainer oracle = new OracleContainer ( imageName ( "gvenzl/oracle-xe" , "21.3.0 -slim" ) )
85+ public static final OracleContainer oracle = new OracleContainer ( imageName ( "gvenzl/oracle-xe" , "21-slim-faststart " ) )
8686 .withUsername ( DatabaseConfiguration .USERNAME )
8787 .withPassword ( DatabaseConfiguration .PASSWORD )
8888 .withDatabaseName ( DatabaseConfiguration .DB_NAME )
Original file line number Diff line number Diff line change @@ -206,5 +206,5 @@ and schema to run the tests:
206206[ oracle ] :https://www.oracle.com/database/technologies/appdev/xe.html
207207
208208```
209- podman run --rm --name $NAME -e ORACLE_PASSWORD=hreact -e APP_USER=hreact -e APP_USER_PASSWORD=hreact -e ORACLE_DATABASE=hreact -p 1521:1521 gvenzl/oracle-xe:21.3.0 -slim
209+ podman run --rm --name HibernateTestingOracle -e ORACLE_PASSWORD=hreact -e APP_USER=hreact -e APP_USER_PASSWORD=hreact -e ORACLE_DATABASE=hreact -p 1521:1521 docker.io/ gvenzl/oracle-xe:21-slim-faststart
210210```
You can’t perform that action at this time.
0 commit comments