-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
check_parallel| Adds new test suite for multiple workers/check_parallel #3474
check_parallel| Adds new test suite for multiple workers/check_parallel #3474
Conversation
7666cdd
to
06b1e03
Compare
1 similar comment
06b1e03
to
98255f7
Compare
98255f7
to
82ee799
Compare
This is currently broken by #3516. @Pierre-Sassoulas. |
Could you try adding missing import in |
Unfortunately that didn't work. Part of the reason for it is that the new file-module (check_parallel.py) is hidden by the function import: The above means we can't directly access properties in the check_parallel module in a read/write manner and everything else feels like a workaround. I am going to rename check_parallel.py -> parallel.py, its more descriptive. It looks like that the only file-module with that problem after the refactor. |
705d1e7
to
20fd895
Compare
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.
Hey @doublethefish Thanks for the PR, this has been a great one. I left a bunch of comments that we should address before pulling this in.
These regression tests put check_parallel() and related functions under tests, ensuring that the functionality remains consistent ahead of any bug fixes and performance work we may do.
…cker These regression tests target future optimisation work for the check_parallel() system.
(the legacy .unittest version was also supported)
20fd895
to
c85297c
Compare
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.
It seems all of @PCManticore comments were addressed, I think we can merge this. The only thing is that with time a conflict appeared and we can't rebase automatically anymore. Could you rebase on the latest master @doublethefish ?
I'd be happy to fix the conflict if you aren't available @doublethefish Will check back later |
Added this in another PR, thank for the added tests @doublethefish |
Once again, thanks for sorting this. It's been a difficult 6 weeks. |
Steps
doc/whatsnew/<current release.rst>
.Description
These regression tests put check_parallel() and related functions under test, ensuring that the functionality remains consistent ahead of any bug fixes and performance work we may do.
This makes it easier to make larger changes here later, for example performance work (see PR #3458, and issue #2525).
The test uses the stats generated by a lint-run to regression-test that the correct number of operations have been performed on the expected number of files irrespective of the number of workers being used.
Really this work is a pre-cursor to changing how
check_parallel
functions (PR #3458). So we check:Type of Changes
Related Issue