Documentation:
By default, the test suite runs Oracle database in a container using TestContainers.
The container database binds to an arbitrary port to avoid conflicts. Nevertheless, you can force the usage of the standard Oracle port (1521) with a flag:
mvn test -DcontainerFixedPort
You can start an external database:
docker run -t -i -p 1521:1521 -e ORACLE_PASSWORD=vertx gvenzl/oracle-free:23-slim-faststart
Then run tests against it:
mvn test -Dconnection.uri="oracle:thin:sys as sysdba/vertx@localhost:1521/FREEPDB1"
-
connection.uri
: configure the client to connect to the specified database