-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
dist/quarkus
Describe the bug
If Keycloak fails to start there is a warning printed on system error, but no exception is thrown. Not sure if it eventually times out or not, but it should throw an exception immediately.
I'm pretty sure this is a regression and it didn't use to work like this until recently. This also affected the embedded server mode for the new test framework, providing a rather poor experience.
Version
main
Regression
- The issue is a regression
Expected behavior
If Keycloak fails to start, for example due to invalid configuration, an exception should be thrown straight away.
Actual behavior
It hangs for a long time, maybe forever? Not sure if it will eventually time out, but I've waited 5 mins so far ;)
How to Reproduce?
Run for example CustomConfigTest from new test framework examples with the embedded server mode. Update the server config in CustomConfigTest first to add an invalid option for instance .option("nosuch", "nosuch") to cause it to fail at startup.
Anything else?
No response