Select Git revision
Forked from
GitLab.org / gitlab-runner
Steve Xuereb
authored
We are putting a timeout of 1 millisecond, and the timeout happens it can be on different part of the http stack, for example reading headers, reading body which can return two different kind of errors: `net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)` and `net/http: request canceled (Client.Timeout)`, we just want to make sure it timed out and not on what it timed out. This test causes some flakiness in CI: - https://gitlab.com/gitlab-org/gitlab-runner/pipelines/73498489 - https://gitlab.com/gitlab-org/gitlab-runner/pipelines/73729522