21 lines
769 B
Properties
21 lines
769 B
Properties
# Test config: use in-memory H2 and prevent main import.sql from running
|
|
quarkus.datasource.db-kind=h2
|
|
quarkus.datasource.username=sa
|
|
quarkus.datasource.password=
|
|
quarkus.datasource.jdbc.url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;MODE=PostgreSQL
|
|
|
|
# Let Hibernate create/drop schema for tests
|
|
quarkus.hibernate-orm.database.generation=drop-and-create
|
|
|
|
# Disable automatic load of import.sql from main resources for tests
|
|
quarkus.hibernate-orm.sql-load-script=
|
|
|
|
# Show SQL in test logs (helpful while developing tests)
|
|
quarkus.hibernate-orm.log.sql=true
|
|
quarkus.hibernate-orm.log.bind-parameters=true
|
|
|
|
# Use a fixed HTTP port for tests (set to 8888 as requested)
|
|
quarkus.http.test-port=8888
|
|
# Also set the runtime HTTP port for tests to the same value
|
|
quarkus.http.port=8888
|