Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky spring webflux tests #3150

Merged
merged 1 commit into from
May 31, 2021
Merged

Conversation

laurit
Copy link
Contributor

@laurit laurit commented May 31, 2021

Hopefully fixes flaky spring webflux tests. As far as I understand the problem is that reactive flow can get canceled (cancellation happens because request is already considered to be completed) before SpanFinishingSubscriber is run so that span remains unfinished. This pr adds handling of cancellation.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️❤️❤️

@trask trask merged commit d290684 into open-telemetry:main May 31, 2021
tylerbenson pushed a commit to DataDog/dd-trace-java that referenced this pull request Jun 2, 2021
tylerbenson pushed a commit to DataDog/dd-trace-java that referenced this pull request Jun 11, 2021
From open-telemetry/opentelemetry-java-instrumentation#3150, but rebased with changes from #2791.
Thanks to @laurit for your help.
robododge pushed a commit to robododge/opentelemetry-java-instrumentation that referenced this pull request Jun 17, 2021
@laurit laurit deleted the springwebflux-flaky branch August 8, 2021 21:00
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