default datasource health check is up, without any url configured #41151
Labels
area/config
area/health
area/smallrye
kind/bug
Something isn't working
triage/duplicate
This issue or pull request already exists
Describe the bug
The health check for the default datasource shows an
UP
status, without any url being configured.Expected behavior
The application should fail to start, since the datasource is not configured correctly
Actual behavior
The health check for the default datasource shows an
UP
statusHow to Reproduce?
Reproducer:
git clone https://github.com/turing85/quarkus-camel-local-transactions.git cd quarkus-camel-local-transactions
application.properties
and verify that no database url is configuredOutput of
uname -a
orver
Linux xxx 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 21.0.2 2024-01-16 LTS OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode, sharing)
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: