dask / dask/distributed

Test suite leaks many objects

Open
#1,669 1 comment 0 reactions 0 assignees View on GitHub
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

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.