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 concurrency assumptions for test_worker_reconnects_mid_compute #5623

Merged
merged 3 commits into from
Jan 11, 2022

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Dec 21, 2021

Both tests are relying on the assumption that there are two workers with one thread each. However, I never realized that the default configuration for gen_cluster is one worker with one thread and another worker with two thread. That messes with the test assumptions.

The tests are reliably failing on windows, according to the test report. I'm not entirely sure if this is the only flaw with the tests but it is a start

Might fix #5621

@fjetter fjetter requested a review from crusaderky December 22, 2021 09:53
distributed/tests/test_worker.py Outdated Show resolved Hide resolved
Co-authored-by: crusaderky <crusaderky@gmail.com>
@fjetter fjetter merged commit 1bab9e5 into dask:main Jan 11, 2022
@fjetter fjetter deleted the fix_test_worker_reconnects_mid_compute branch January 11, 2022 15:55
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.

Flaky test test_worker_reconnects_mid_compute*
2 participants