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

Fix flaky test_worker_reconnects_mid_compute #5227

Merged

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Aug 18, 2021

This test condition is wrong since we cannot reliably state that worker B managed to receive the task and transition it to executing before the heartbeat is triggered. If that happens, we'll never receive a second result. We want to ensure in these tests that the original result of the disconnecting worker is logged and this is what the new test condition asserts

@jrbourbeau jrbourbeau changed the title Fix flaky test_worker_reconnects_mid_compute Fix flaky test_worker_reconnects_mid_compute Aug 18, 2021
Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Thanks @fjetter!

@jrbourbeau jrbourbeau merged commit a0124ac into dask:main Aug 18, 2021
@crusaderky
Copy link
Collaborator

Alas this was insufficient. These two tests are currently extremely flaky on Windows 3.8 exclusively (I can't explain that); e.g. https://github.com/crusaderky/distributed/runs/3433363473?check_suite_focus=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants