Skip to content

Conversation

@crusaderky
Copy link
Collaborator

@crusaderky crusaderky commented Jan 31, 2022

test_memory becomes heavily flaky after #5695. This PR makes it pass before and after #5695.

@crusaderky crusaderky force-pushed the AMM/test_memory branch 2 times, most recently from 43e939b to dcb4961 Compare January 31, 2022 14:47
@crusaderky crusaderky self-assigned this Jan 31, 2022
@crusaderky crusaderky marked this pull request as ready for review January 31, 2022 16:38
@crusaderky
Copy link
Collaborator Author

crusaderky commented Jan 31, 2022

All test failures are unrelated.
I verified that test_memory is green after merging #5695 too.
Ready for final review and merge.

Copy link
Collaborator

@gjoseph92 gjoseph92 left a 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.

initial_timeout = 40
else:
initial_timeout = 0
# Trigger potential imports inside WorkerPlugin events
Copy link
Collaborator

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?

Copy link
Collaborator Author

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_dependency

Co-authored-by: Gabe Joseph <gjoseph92@gmail.com>
@crusaderky crusaderky merged commit 5386d76 into dask:main Feb 1, 2022
@crusaderky crusaderky deleted the AMM/test_memory branch February 1, 2022 11:12
gjoseph92 pushed a commit to gjoseph92/distributed that referenced this pull request Feb 1, 2022
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.

2 participants