Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Mar 7, 2025

https://scans.gradle.com/s/6pr5nphlmr3yk/tests/task/:instrumentation:java-http-server:javaagent:test/details/io.opentelemetry.javaagent.instrumentation.javahttpserver.JavaHttpServerTest/requestWithRedirect()?top-execution=1

When response does not have a body (content length is -1) then response is closed in sendResponseHeaders. Closing it again triggers an assertion error on jdk 11. This assertion error may be picked up by awaitility, that installs an uncaught exception handler, and retrhown on the main test thread.

@laurit laurit requested a review from a team as a code owner March 7, 2025 13:29
@trask trask merged commit e521e6c into open-telemetry:main Mar 7, 2025
85 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants