1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-20 19:52:56 +02:00
opentelemetry-go/exporters/otlp/internal/retry
Tyler Yahn 53ead308b8
Fix TestBackoffRetry in otlp/internal/retry package (#2562)
* Fix TestBackoffRetry in otlp retry pkg

The delay of the retry is within two times a randomization factor (the
back-off time is delay * random number within [1 - factor, 1 + factor].
This means the waitFunc in TestBackoffRetry needs to check the delay is
within an appropriate delta, not equal to configure initial delay.

* Fix delta value

* Fix delta

Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>
2022-01-31 12:32:56 -08:00
..
go.mod Centralize the retry package for the otlp exporters (#2427) 2021-12-06 07:47:49 -08:00
go.sum Centralize the retry package for the otlp exporters (#2427) 2021-12-06 07:47:49 -08:00
retry_test.go Fix TestBackoffRetry in otlp/internal/retry package (#2562) 2022-01-31 12:32:56 -08:00
retry.go Centralize the retry package for the otlp exporters (#2427) 2021-12-06 07:47:49 -08:00