From 9e9e09590cce321f55996c1a31370ffdf28251b0 Mon Sep 17 00:00:00 2001 From: spisarski Date: Fri, 9 Mar 2018 14:42:34 -0700 Subject: Closing keystone sessions after done with them. By not closing all of the keystone sessions being created when running all of the tests, this may be the root cause to the IOError occasionally being observed: IOError: [Errno 24] Too many open files JIRA: SNAPS-285 Change-Id: I7fc7ab0c6cdd02f1ae32bb3ae4f121cb465d5693 Signed-off-by: spisarski --- snaps/openstack/create_volume_type.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'snaps/openstack/create_volume_type.py') diff --git a/snaps/openstack/create_volume_type.py b/snaps/openstack/create_volume_type.py index a7198d8..9a45561 100644 --- a/snaps/openstack/create_volume_type.py +++ b/snaps/openstack/create_volume_type.py @@ -87,6 +87,8 @@ class OpenStackVolumeType(OpenStackVolumeObject): self.__volume_type = None + super(self.__class__, self).clean() + def get_volume_type(self): """ Returns the domain Volume object as it was populated when create() was -- cgit 1.2.3-korg