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

[test] Compensate for Circle CI's low performance #24358

Merged
merged 2 commits into from Jan 11, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 10, 2021

The changes are motivated by the performance issue Circle CI has had since Friday, test_unit-1 takes 6-7 minutes to run. It's x2 slower than usual. This leads to our slower tests to timeout 50% of the time.

Under normal conditions, the test in my env runs in 1min and in the CI, in about 2-3 minutes, hence the factor of x3. From what I recall, I don't have the faster machine in the team, I hope the 1s as the max timeout is enough for everybody. We might need to adjust it.

I have used this opportunity to remove the usage of a setTimeout(500ms) in a test case.

@mui-pr-bot
Copy link

mui-pr-bot commented Jan 10, 2021

No bundle size changes

Generated by 🚫 dangerJS against c501163

@mbrookes mbrookes changed the title [test] Circle CI has low-performance CPUs [test] Compensate for Circle CI's low performance Jan 10, 2021
@eps1lon
Copy link
Member

eps1lon commented Jan 11, 2021

It's x2 slower than usual.

Do you know why that is?

@oliviertassinari
Copy link
Member Author

Do you know why that is?

@eps1lon I don't know. I couldn't find any lead.

.mocharc.js Outdated Show resolved Hide resolved
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
@oliviertassinari oliviertassinari merged commit 3c08def into mui:next Jan 11, 2021
@oliviertassinari oliviertassinari deleted the test-timeout branch January 11, 2021 14:29
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.

None yet

3 participants