dask / dask/distributed

use a ResourceWarning instead of check_active_rpc

Open
#6,848 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

active_rpc_timeout is tricky to use and set, it would be better if rpc objects were closed by code under test, rather than us finding them and sweeping them up after the test.

leaving an active RPC lying around after the test shouldn't impact other tests because it should already be cleaned up by a combination of shutdown in `asyncio.run` and `__del__` methods

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.