Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Fix flakiness in test_stop_workers_politely #49

Merged
merged 1 commit into from
Nov 26, 2017

Conversation

jakirkham
Copy link
Member

Fixes #42

The test_stop_workers_politely test has been a bit flaky. Given the test is trying to shutdown a worker and compute results at the same time, this seems like part of the problem. To try and fix this, wait until the worker is shutdown completely before trying to retrieve results. Otherwise it seems to have issues.

The `test_stop_workers_politely` test has been a bit flaky. Given the
test is trying to shutdown a worker and compute results at the same
time, this seems like part of the problem. To try and fix this, wait
until the worker is shutdown completely before trying to retrieve
results. Otherwise it seems to have issues.
@jakirkham
Copy link
Member Author

IDK if this will actually fix the issue and given the test is kind of flaky it is hard to be sure, but this is my best guess on a fix. Would appreciate if someone could review this.

@jakirkham
Copy link
Member Author

I think this fixes this test issue, but maybe this breaks with the intent of the test. If you could let me know either way @mrocklin, that would be appreciated.

@mrocklin mrocklin merged commit cc9813a into dask:master Nov 26, 2017
@mrocklin
Copy link
Member

Seems fine to me. If this was breaking then I suspect that it's more dask.distributed's fault than dask-drmaa's

@jakirkham
Copy link
Member Author

Thanks for checking.

Yeah was looking at issue ( dask/distributed#682 ) and wondered if there was a shared underlying cause, but failed to identify it. Maybe you will have a better idea than I. 😉

@jakirkham jakirkham deleted the fix_test_stop_workers_politely branch November 26, 2017 21:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_stop_workers_politely CI failure
2 participants