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

Attempt to fix test flakiness #4880

Merged
merged 1 commit into from Oct 22, 2017
Merged

Attempt to fix test flakiness #4880

merged 1 commit into from Oct 22, 2017

Conversation

benmccann
Copy link
Contributor

@benmccann benmccann commented Oct 21, 2017

It looks like these settings have fixed the problems we're seeing on Travis for others

E.g. jasmine/jasmine#1327 (comment)

karma.conf.js Outdated
}
},

browserNoActivityTimeout: 500000,
Copy link
Member

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?

Copy link
Contributor Author

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

@simonbrunel simonbrunel added this to the Version 2.7.1 milestone Oct 22, 2017
@simonbrunel simonbrunel merged commit 9f32f07 into chartjs:master Oct 22, 2017
yofreke pushed a commit to yofreke/Chart.js that referenced this pull request Dec 30, 2017
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
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants