-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
remove deprecated code calls to IOLoop.make_current()
#7240
Conversation
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 15 files ± 0 15 suites ±0 6h 23m 46s ⏱️ + 12m 30s Results for commit 84b32f2. ± Comparison against base commit c137ac0. ♻️ This comment has been updated with latest results. |
fa10314
to
90961fb
Compare
it's only used in test_client, and requires calling make_current
90961fb
to
84b9384
Compare
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.
This PR generally looks good to me. I have one question that I would like answered before giving this a thumbs-up.
stack.callback(thread.join, timeout=2) | ||
async with worker: | ||
failure_type = None | ||
|
||
try: | ||
assert worker.address | ||
except ValueError: |
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.
This is outside of the changes made in this PR, but do you have an idea why the ValueError
would pop up here and why it's okay to ignore it?
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.
it's this ValueError
distributed/distributed/core.py
Line 573 in 041e1c5
raise ValueError("cannot get address of non-running Server") |
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.
@fjetter: Do you happen to know whether we should keep ignoring this error?
Co-authored-by: Hendrik Makait <[email protected]>
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.
LGTM, thanks @graingert!
move utils_test.pristine_loop into test_client.py - it's only used in test_client, and requires calling make_current
remove
IOLoop.make_current()
fromNanny._run
refs #6784
Closes #xxxx
pre-commit run --all-files