Ungraceful continuous testing failure in dev mode due to (unhandled?) Jackson serialization error when communicating with dev ui #35653
Labels
area/continuous-testing
area/dev-ui
area/devmode
area/jackson
Issues related to Jackson (JSON library)
env/windows
Impacts Windows machines
kind/bug
Something isn't working
triage/needs-feedback
We are waiting for feedback.
Milestone
Describe the bug
When running tests in development mode (
quarkus dev
ormvn quarkus:dev
), if an exception is thrown as part of a test that cannot be serialized to json for the dev UI, then continuous testing fails with a jackson processing exception and you have to restart the quarkus dev process.If you run your tests with
quarkus:test
then everything is fine, as there is no attempt to parse the test results as json.I think that any sort of error / exception that occurs in the dev-ui/as part of the dev-ui communication should not interfere with continuous testing at all. These errors (IMO) should be stopped before they bleed into the continuous processing experience, as when they do, this interrupts development flow using
quarkus dev
.Expected behavior
An error occurring in the communication process for the dev-ui should not cause the continuous testing process to fail, requiring a restart.
Actual behavior
An error occurring in the communication process for the dev-ui causes the continuous testing process to fail, requiring a restart.
How to Reproduce?
mvn quarkus:test
quarkus:test
quarkus:dev
Output of
uname -a
orver
Microsoft Windows [Version 10.0.19045.3393]
Output of
java -version
openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8) OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)
GraalVM version (if different from Java)
N/A
Quarkus version or git rev
3.0.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c) Maven home: C:\Users\olson\dev\tools\apache-maven-3.9.2 Java version: 17.0.5, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-17.0.5.8-hotspot Default locale: de_DE, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Additional information
N/A
The text was updated successfully, but these errors were encountered: