summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/baseclass.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/baseclass.py b/openshift-storage-libs/openshiftstoragelibs/baseclass.py
index 4ca48f0..5553aa8 100644
--- a/openshift-storage-libs/openshiftstoragelibs/baseclass.py
+++ b/openshift-storage-libs/openshiftstoragelibs/baseclass.py
@@ -611,6 +611,7 @@ class BaseClass(unittest.TestCase):
timeout=timeout, wait_step=wait_step)
# Power off vm
+ self.addCleanup(self.power_on_vm, vm_name)
self.power_off_vm(vm_name)