This is a docker.client.Client and therefore contains a connection pool, so each subclass of DockerClientTestCase can end up holding on to up to 10 Unix socket file descriptors after the tests contained in the sub-class are complete. Before this by the end of a test run I was seeing ~100 open file descriptors, ~80 of which were Unix domain sockets. By cleaning these up only 15 Unix sockets remain at the end (out of ~25 fds, the rest of which are the Python interpretter, opened libraries etc). Signed-off-by: Ian Campbell <ian.campbell@docker.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| project_test.py | ||
| resilience_test.py | ||
| service_test.py | ||
| state_test.py | ||
| testcases.py | ||
| volume_test.py | ||