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: TestWait #2299
Comments
This looks similar to #2289 This opentelemetry-go/exporters/otlp/otlptrace/internal/retry/retry.go Lines 123 to 127 in 69b88ab
|
I'm able to reproduce this failure locally. $ go test -run=TestWait -count 1000000 -failfast ./...
--- FAIL: TestWait (0.00s)
retry_test.go:58:
Error Trace: retry_test.go:58
Error: Not equal:
expected: *errors.errorString(&errors.errorString{s:"context canceled"})
actual : <nil>(<nil>)
Test: TestWait
FAIL
FAIL go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/retry 0.005s
FAIL |
MrAlias
added a commit
to MrAlias/opentelemetry-go
that referenced
this issue
Oct 18, 2021
Explicitly return nil if the wait time and the context deadline expire simultaneously, instead of indeterminately the context error or nil, for the retry wait function in the otlptrace/internal package.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
https://github.com/open-telemetry/opentelemetry-go/runs/3931346951?check_suite_focus=true
opentelemetry-go/exporters/otlp/otlptrace/internal/retry/retry_test.go
Lines 48 to 53 in 69b88ab
Environment
log.txt
The text was updated successfully, but these errors were encountered: