quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.36k stars 2.56k forks source link

default datasource health check is up, without any url configured #41151

Closed turing85 closed 3 weeks ago

turing85 commented 3 weeks ago

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 status

How to Reproduce?

Reproducer:

Output of uname -a or ver

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 or gradlew --version)

No response

Additional information

No response

quarkus-bot[bot] commented 3 weeks ago

/cc @jmartisk (health), @radcortez (config), @xstefank (health)

geoand commented 3 weeks ago

Is this different than #41152?

It looks like a duplicate

turing85 commented 3 weeks ago

uh... yeah... it is... how did this duplicate?

geoand commented 3 weeks ago

Stuff happens :)