mirror of https://github.com/docker/compose.git
tearDown tmp_volumes array itself in VolumeTest
Each volume in the array holds a reference to a docker.client.Client object and therefore a connection pool which leaves fds open once the test has completed. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
parent
5cdf30fc12
commit
3124fec01a
|
@ -17,6 +17,7 @@ class VolumeTest(DockerClientTestCase):
|
|||
self.client.remove_volume(volume.full_name)
|
||||
except DockerException:
|
||||
pass
|
||||
del self.tmp_volumes
|
||||
|
||||
def create_volume(self, name, driver=None, opts=None, external=None):
|
||||
if external and isinstance(external, bool):
|
||||
|
|
Loading…
Reference in New Issue