path: root/openshift-storage-libs
diff options
authoradityaramteke <>2019-09-25 12:30:43 +0530
committeradityaramteke <>2019-11-27 11:37:11 +0530
commit985cc6bf7bfa25ee8aba0735770583a89a7f9319 (patch)
tree404d9c8453edf45569ef0f268cf4b92336b939af /openshift-storage-libs
parentf51ac495904dcd43649dbdc9a3997593aa8f9164 (diff)
Add test for creation of PVC when one node down
The purpose of this test case is to confirm that provisioning succeeds if at least 3 nodes are UP in a CNS cluster with nodes >3. Change-Id: I7fc1f851114d921f65e819db23502776526e6827
Diffstat (limited to 'openshift-storage-libs')
1 files changed, 1 insertions, 1 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/ b/openshift-storage-libs/openshiftstoragelibs/
index 5553aa8d..80f89668 100644
--- a/openshift-storage-libs/openshiftstoragelibs/
+++ b/openshift-storage-libs/openshiftstoragelibs/
@@ -561,7 +561,7 @@ class BaseClass(unittest.TestCase):
except CloudProviderError as e:
# Try to power on VM, if it raises already powered On error
# then don't raise exception.
- if 'VM %s is already powered On' % vm_name not in e:
+ if 'VM %s is already powered On' % vm_name not in six.text_type(e):
def power_off_vm(self, vm_name):