-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Browserstack disconnection issue. #3038
Conversation
@@ -108,9 +108,11 @@ module.exports = function(config) { | |||
username: process.env.BROWSERSTACK_USERNAME, | |||
accessKey: process.env.BROWSERSTACK_KEY | |||
}, | |||
captureTimeout: 120000, | |||
captureTimeout: 3e5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this number translate to? will the large number cause the test to stuck and occupy the browserstack instance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
300000 ms = 5 min
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change back if this doesn't help, and it's not significantly larger than what we currently have, i.e. 2 min.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it. maybe write it as 30000 for readability. the number seems to be arbitrary, any idea why this number would work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put it in PR description, this set of number is recommended by Browserstack support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r1.
Reviewable status: complete! 1 of 1 approvals obtained (waiting on @kangyizhang, @pyu10055, and @tafsiri)
BrowserStack support recommended the following configs. After upgrade to 1.5.0, we are seeing a lot of timeouts, see issue karma-runner/karma-browserstack-launcher#152. If changing config doesn't help, we will have to downgrade to 1.4.0.
This change is