-
-
Notifications
You must be signed in to change notification settings - Fork 750
AMM: speed up and stabilize test_memory #5737
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
Conversation
43e939b to
dcb4961
Compare
dcb4961 to
03a936a
Compare
|
All test failures are unrelated. |
gjoseph92
left a comment
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.
If this indeed reduces flakiness, LTGM.
distributed/tests/test_scheduler.py
Outdated
| initial_timeout = 40 | ||
| else: | ||
| initial_timeout = 0 | ||
| # Trigger potential imports inside WorkerPlugin events |
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.
inside WorkerPlugin events
What do you mean by this?
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.
>>> class MyPlugin(WorkerPlugin):
... def transition(self, key, start, finish, *args, **kwargs):
... import heavy_dependencyCo-authored-by: Gabe Joseph <gjoseph92@gmail.com>
Co-authored-by: Gabe Joseph <gjoseph92@gmail.com>
test_memory becomes heavily flaky after #5695. This PR makes it pass before and after #5695.