-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Try the recommended browserstack timeouts #3468
Comments
It times out after 50 seconds, which is a lot of time. I wonder if the issue is related to the fact that tests are run in 3 jobs at the same time and it can be fixed by only running them in one job. Do you have the same error if you run tests from local machine using same BS access key as in CI? |
I don't have a lot of experience with this setup. I'm inclined to try these values and see what bad happens (since we fail >50% now) |
Probably nothing bad, just not sure that it will address the issue. But let's see. |
just took longer to fail. |
@johnjbarton I've pushed what I had in mind into https://github.com/karma-runner/karma/tree/travis. Can you let this branch access BrowserStack variables and trigger couple of builds on it manually to see if this actually resolves the problem? If it is, I'll submit the changes as a proper PR. |
Ok try now.
…On Mon, Apr 20, 2020 at 2:18 PM Yaroslav Admin ***@***.***> wrote:
@johnjbarton <https://github.com/johnjbarton> I've pushed what I had in
mind into https://github.com/karma-runner/karma/tree/travis. Can you let
this branch access BrowserStack variables and trigger couple of builds on
it manually to see if this actually resolves the problem? If it is, I'll
submit the changes as a proper PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3468 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABSGAXR5FBE7UUHZZN4IDDRNS33XANCNFSM4MFBHWBQ>
.
|
Thanks! I've triggered 5 builds and all succeeded (UPD second latest build is my take on another approach, ignore it). So the solution with running these tests only in one job works. What I suspect is causing the conflict is that all three jobs use the same |
No, the assumption is incorrect. Using I would suggest we go with the initial approach, at least as a temporary solution. First step would be to merge #3481 and then I'll submit a PR with the actual fix. |
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
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
🎉 This issue has been resolved in version 5.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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
karma-runner/karma-browserstack-launcher#159
The text was updated successfully, but these errors were encountered: