tests: fix removing test VMs
Do it before shutting down qubesd socket - some things may require it for VM removal/shutdown.
This commit is contained in:
parent
eee6ab0c01
commit
ea5ca79133
@ -649,6 +649,8 @@ class SystemTestsMixin(object):
|
||||
self.reload_db()
|
||||
|
||||
def tearDown(self):
|
||||
self.remove_test_vms()
|
||||
|
||||
# close the servers before super(), because that might close the loop
|
||||
for server in self.qubesd:
|
||||
for sock in server.sockets:
|
||||
@ -658,7 +660,6 @@ class SystemTestsMixin(object):
|
||||
server.wait_closed() for server in self.qubesd]))
|
||||
|
||||
super(SystemTestsMixin, self).tearDown()
|
||||
self.remove_test_vms()
|
||||
|
||||
# remove all references to VM objects, to release resources - most
|
||||
# importantly file descriptors; this object will live
|
||||
|
Loading…
Reference in New Issue
Block a user