-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
I just discovered a problem with Kogito Hot Reload test. When there is an error in an upper module, the test fails during the loading because of missing -deplyoment package but it freezes and then the build will reach the timeout and is aborted.
I did some analysis and created a PR to "workaround" it (see link) but I think it should solved also in Quarkus.
We have hot reload tests in a dedicated module instead of inside -deployment and we had no maven dependency on deployment module (because QuarkusDevModeTest loads the modules independently without using project configuration). The current fix is to declare the dependency so the module is skipped if deployment is not properly built.
I looked for a suggested configuration of hot reload tests from a different module but I was not able to find any so I guess my fix is correct (declare dependency on deployment) but still the build should not freeze in case of wrong configuration.
Expected behavior
Test fails and then build continue until the end
Actual behavior
Test fails during the initialization with this stacktrace but then freezes until build timeout (see last lines of the gist)
To Reproduce
See here
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
- Output of
uname -aorver:
Linux dzonca.mxp.csb 4.18.0-80.11.2.el8_0.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Sun Sep 15 11:24:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux - Output of
java -version:
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode) - GraalVM version (if different from Java):
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment GraalVM CE 20.0.0 (build 11.0.6+9-jvmci-20.0-b02)
OpenJDK 64-Bit Server VM GraalVM CE 20.0.0 (build 11.0.6+9-jvmci-20.0-b02, mixed mode, sharing) - Quarkus version or git rev:
1.4.1.Final - Build tool (ie. output of
mvnw --versionorgradlew --version):
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Additional context
(Add any other context about the problem here.)