Closed afq984 closed 5 months ago
Looks like TestShouldUseExponentialBackoffIfNoRetryHeader
is already flaky on master (9d3fc7d5e356071d2d40b75e69694a0c124e5e33).
go test -count=100 -run TestShouldUseExponentialBackoffIfNoRetryHeader ./httputil -v
gives me 8 failures out of 100
edit: this should be fixed by https://github.com/bazelbuild/bazelisk/pull/530
Thanks! I merged https://github.com/bazelbuild/bazelisk/pull/530, so you can rerun the tests here.
https://github.com/bazelbuild/bazelisk/commit/787006c7de3b08807b592fe14349608cd99532b0 added support for retrying HTTP errors, this extend that to retry when an HTTP connection cannot be made.
This helps when bazelisk failes to speak HTTP:
Fixes: #432