TestRetryer fails spontaneously
Open
theme/testing
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
On 1.5.2 `TestRetryer` fails spontaneously, once in a while as follows:
~~~~
--- FAIL: TestRetryer (0.23s)
--- FAIL: TestRetryer/counter (0.23s)
retry_test.go:39: loop took 228.826018ms want 200ms (+/- 25ms)
~~~~
Note how tight is the time frame - merely ~4ms off is enough to make the test fail...
Tests should be more reliable...
Contributor guide
Assessment
This issue has not been assessed yet.