summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2018-12-17 14:42:35 +0000
committerGerrit Code Review <gerrit2@gerrit.host.prod.eng.bos.redhat.com>2018-12-17 14:42:35 +0000
commit78d7a913a49d388d80f42e367f2cb9ff6dc5ca20 (patch)
tree952f61a9ae861ebbca272d8a840776db1497ab25 /tests
parentd8e136dd3303fbfb976e49e2edc23e0c6a6278bb (diff)
parentc853d36db63ada595d42f4cf41bcaf1bb7741377 (diff)
Merge "Make 'test_storage_class_cases' module support standalone Gluster"
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/common/provisioning/test_storage_class_cases.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/common/provisioning/test_storage_class_cases.py b/tests/functional/common/provisioning/test_storage_class_cases.py
index 52ac761a..027bd0f2 100644
--- a/tests/functional/common/provisioning/test_storage_class_cases.py
+++ b/tests/functional/common/provisioning/test_storage_class_cases.py
@@ -6,8 +6,8 @@ from glusto.core import Glusto as g
from cnslibs.cns import cns_baseclass
from cnslibs.common.cns_libs import validate_multipath_pod
from cnslibs.common.openshift_ops import (
+ get_amount_of_gluster_nodes,
get_gluster_blockvol_info_by_pvc_name,
- get_ocp_gluster_pod_names,
get_pod_name_from_dc,
oc_create_app_dc_with_io,
oc_create_pvc,
@@ -190,7 +190,7 @@ class TestStorageClassCases(cns_baseclass.CnsBaseClass):
gluster pods count
'''
# get hacount as no of gluster pods the pvc creation
- hacount = len(get_ocp_gluster_pod_names(self.ocp_master_node[0]))
+ hacount = get_amount_of_gluster_nodes(self.ocp_master_node[0])
# create storage class and pvc with given parameters
self.create_sc_with_parameter(
@@ -209,7 +209,7 @@ class TestStorageClassCases(cns_baseclass.CnsBaseClass):
value
'''
# get hacount as no of gluster pods + 1 to fail the pvc creation
- hacount = len(get_ocp_gluster_pod_names(self.ocp_master_node[0])) + 1
+ hacount = get_amount_of_gluster_nodes(self.ocp_master_node[0]) + 1
# create storage class and pvc with given parameters
self.create_sc_with_parameter(