-
Notifications
You must be signed in to change notification settings - Fork 11.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
Attempt to fix test flakiness #4880
Conversation
karma.conf.js
Outdated
} | ||
}, | ||
|
||
browserNoActivityTimeout: 500000, |
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.
500000 (8.20 minutes) is quite a lot, we could start with 1 or 2 minutes. Can you also add a comment above these values to explain why and a link to the ticket/article/docs where you found that solution?
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.
Oops. I meant to set to 50000 not 500000. I've updated it to be 1 min and added a comment as suggested. Thanks for catching that
These settings deal with browser disconnects. We had seen test flakiness from Firefox: [Firefox 56.0.0 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms
These settings deal with browser disconnects. We had seen test flakiness from Firefox: [Firefox 56.0.0 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms
It looks like these settings have fixed the problems we're seeing on Travis for others
E.g. jasmine/jasmine#1327 (comment)