-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Flaky test: TestSimpleSpanProcessorShutdownHonorsContextCancel #2289
Comments
I'm able to reproduce this locally (
|
I'm able to reproduce without the |
I'm able to reproduce on Go 1.15 and 1.16 as well. |
This opentelemetry-go/sdk/trace/simple_span_processor.go Lines 91 to 95 in cbcd4b1
Both cases are ready to be read and since the select order is random this will sporadically read that the exporter shutdown with no error instead of the already canceled context. |
Description
https://github.com/open-telemetry/opentelemetry-go/runs/3908587687?check_suite_focus=true
opentelemetry-go/sdk/trace/simple_span_processor_test.go
Lines 159 to 167 in cbcd4b1
Environment
Test Failure Logs
log.txt
The text was updated successfully, but these errors were encountered: