Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix BrowserStack timeouts #3484

Merged
merged 1 commit into from Apr 21, 2020

Conversation

devoto13
Copy link
Collaborator

Assuming that the issue is concurrent jobs attempting to interact with BrowserStack using the same build ID, this solution attempts to solve it by only interacting with BrowserStack in one of the jobs.

Updated build definition:

  • runs complete build on the latest Node
  • runs simplified build (without commit validation, lint, test:client and test:integration) on earlier versions on Node

It is not very valuable to run omitted test suits multiple times as they supposed to catch issues, which are usually Node-independent: client code fails in some browsers and API breaking changes, which will affect popular Karma plugins.

Fixes #3468

Assuming that the issue is concurrent jobs attempting to interact with BrowserStack using the same build ID, this solution attempts to solve it by only interacting with BrowserStack in one of the jobs.

Updated build definition:

- runs complete build on the latest Node
- runs simplified build (without commit validation, lint, test:client and test:integration) on earlier versions on Node

It is not very valuable to run omitted test suits multiple times as they supposed to catch issues, which are usually Node-independent: client code fails in some browsers and API breaking changes, which will affect popular Karma plugins.

Fixes karma-runner#3468
@karmarunnerbot
Copy link
Member

Build karma 217 completed (commit b86b32d543 by @devoto13)

@karmarunnerbot
Copy link
Member

Build karma 216 completed (commit b86b32d543 by @devoto13)

@devoto13
Copy link
Collaborator Author

Ignore the failed travis-ci/push build. Have no idea why GitHub picked it up, given that this is a branch from my fork.

.travis.yml Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
@johnjbarton
Copy link
Contributor

Thanks!

@johnjbarton johnjbarton merged commit 3b854ad into karma-runner:master Apr 21, 2020
@devoto13 devoto13 deleted the travis branch April 24, 2020 08:57
@karmarunnerbot
Copy link
Member

🎉 This PR is included in version 5.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

anthony-redFox pushed a commit to anthony-redFox/karma that referenced this pull request May 16, 2023
Assuming that the issue is concurrent jobs attempting to interact with BrowserStack using the same build ID, this solution attempts to solve it by only interacting with BrowserStack in one of the jobs.

Updated build definition:

- runs complete build on the latest Node
- runs simplified build (without commit validation, lint, test:client and test:integration) on earlier versions on Node

It is not very valuable to run omitted test suits multiple times as they supposed to catch issues, which are usually Node-independent: client code fails in some browsers and API breaking changes, which will affect popular Karma plugins.

Fixes karma-runner#3468
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Try the recommended browserstack timeouts
3 participants