Flakey GitHub integration tests timing out in CI - timeout
Tests that touch the actual GitHub API sometimes time out in CI (flakey)
1) github-contributor-service #slow #github
members should detailed emailed:
Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builds/gitlab-org/gitter/webapp/modules/github/test/github-contributor-service-test.js)
1) gitlab-issue-service #slow #gitlab
as a GitLab user
shouldn't fetch missing issue:
Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builds/gitlab-org/gitter/webapp/modules/gitlab/test/gitlab-issuable-service-test.js)
The collaborators endpoint returns a 403 nowadays for public repos but we check other places(github-user-collaborator-service
) so this should still pass
GET https://api.github.com/repos/gitterHQ/gitter/collaborators
403
{
"message": "Must have push access to view repository collaborators.",
"documentation_url": "https://developer.github.com/v3/repos/collaborators/#list-collaborators"
}
1) collaborators-service #slow #github
should return collaborators for a PUBLIC REPO:
Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/builds/gitlab-org/gitter/webapp/modules/collaborators/test/collaborators-service-test.js)
Examples:
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/144763358
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/144725488
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/143679835
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/141159121
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/153159259
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/162296188
- https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/213335806
Failures even after updating to 30 second timeout:
Edited by Eric Eastwood