Hi,
While using quarkus-test-h2, running test display message "Database "mem:test" not found, either pre-create it or allow remote database creation".
H2 documentation advise to start h2 server with -ifNotExists and -tcpAllowOthers options. Overwriding H2DatabaseTestResource quarkus test resource to inject H2 options does not solve the problem.
The application is using following jdbc url: "%test.quarkus.datasource.jdbc.url=jdbc:h2:tcp://${DB_HOST_NAME}:${DB_HOST_PORT}/mem:${DB_NAME};db_close_delay=-1;init=create schema if not exists ${DB_SCHEMA}\\;set schema ${DB_SCHEMA}"
Is there any kind solution to solve the problem ?
Thx