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] Fix flaky tests #8097

Merged
merged 5 commits into from
Mar 2, 2023
Merged

[test] Fix flaky tests #8097

merged 5 commits into from
Mar 2, 2023

Conversation

cherniavskii
Copy link
Member

@cherniavskii cherniavskii commented Mar 2, 2023

Fixes #7986 (comment)

If it works well, I'll submit a PR that would remove fake clock in other tests as well.

@cherniavskii cherniavskii added test component: data grid This is the name of the generic UI component, not the React module! labels Mar 2, 2023
@mui-bot
Copy link

mui-bot commented Mar 2, 2023

Netlify deploy preview

Netlify deploy preview: https://deploy-preview-8097--material-ui-x.netlify.app/

Updated pages

No updates.

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 642.8 981.5 694.1 746.84 123.177
Sort 100k rows ms 602.9 1,106.1 835.7 888.26 167.015
Select 100k rows ms 215.7 375.4 285.6 289.56 51.425
Deselect 100k rows ms 153.8 300.8 201.7 212.28 48.638

Generated by 🚫 dangerJS against ad91501

@cherniavskii cherniavskii marked this pull request as ready for review March 2, 2023 10:15
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice and clean improvement! 💯

@cherniavskii
Copy link
Member Author

@LukasTy let me know if you notice any flaky tests after merging this PR.

@cherniavskii cherniavskii merged commit 9a085dc into mui:next Mar 2, 2023
@cherniavskii cherniavskii deleted the fix-flaky-tests branch March 2, 2023 12:23
@cherniavskii
Copy link
Member Author

I've seen some false negatives in #8108, I'll look into it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants