Skip to content
Snippets Groups Projects
Select Git revision
20 results

helpers

  • Clone with SSH
  • Clone with HTTPS
  • Forked from GitLab.org / gitlab-runner
    8041 commits behind the upstream repository.
    Steve Azzopardi's avatar
    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
    6e2a5414
    History