Test suite leaks many objects
Open
bug
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 778
- Avg merge
- 2h 50m
- Merged PRs (30d)
- 3
Description
At the end of the test suite (I'm running `distributed/tests`):
```
>>> l = [x for x in gc.get_objects() if isinstance(x, (distributed.Scheduler, distributed.Client, distributed.Worker, distributed.Nanny))]
>>> len(l)
479
>>> pprint.pprint(collections.Counter(type(x) for x in l))
Counter({: 447,
: 19,
: 9,
: 4})
```
So the test suite is really leaking a ton of Scheduler instances...
Contributor guide
Assessment
This issue has not been assessed yet.