aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/QemuUtils.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2017-05-02 13:51:55 +0200
committerPeter Mikus <pmikus@cisco.com>2017-05-05 07:44:33 +0000
commitadae22c83eb77a49a49f9ee50ef11c1a67239d4e (patch)
tree21150ea704454d6ef8a11ea8b580cf44083b21c2 /resources/libraries/python/QemuUtils.py
parent919b7cb359cc8fd06ca8cc7a651391ac6aa03f20 (diff)
Use 'Qemu Kill All' in perf test teardown
- replace 'Qemu Kill' KW by 'Qemu Kill All' - use self.qemu_kill_all() in case of qemu_start(self) failure Change-Id: I19d4c64d5daef4f00548344d45f0d4943ca4f7e8 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/QemuUtils.py')
-rw-r--r--resources/libraries/python/QemuUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py
index eeca320fed..cbdfe856f0 100644
--- a/resources/libraries/python/QemuUtils.py
+++ b/resources/libraries/python/QemuUtils.py
@@ -545,7 +545,7 @@ class QemuUtils(object):
try:
self._wait_until_vm_boot()
except (RuntimeError, SSHTimeout):
- self.qemu_kill()
+ self.qemu_kill_all()
self.qemu_clear_socks()
raise
# Update interface names in VM node dict