summaryrefslogtreecommitdiffstats
path: root/tests/functional/provisioning/test_storage_class_cases.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-10-25 21:04:33 +0530
committerValerii Ponomarov <vponomar@redhat.com>2019-10-31 19:55:46 +0530
commitc2813c9d15d0ca5379a69c468c4586a623e5613a (patch)
tree60087547b3fb3b58bf3cdfccb9146bdb07d3f98a /tests/functional/provisioning/test_storage_class_cases.py
parent8ff1ad960ac164e1157df69f12c748e764d8af4f (diff)
Make 'provisioner' be autocalculated for storage classes
In OCS 3.11.4 was changed the approach for 'provisioners' in storage classes due to the BugZilla bugs [1] and [2]. So, change the approach for getting 'provisioner' value in this project making it be autocalculated based on the data taken from the block provisioner pod, which is located in the working namespace. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1732787 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1738394 Change-Id: Ic1037038e39abba2b2a1ad6dc3ddbfe42473cb88 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/provisioning/test_storage_class_cases.py')
-rw-r--r--tests/functional/provisioning/test_storage_class_cases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/provisioning/test_storage_class_cases.py b/tests/functional/provisioning/test_storage_class_cases.py
index 72cf3606..ef4728b6 100644
--- a/tests/functional/provisioning/test_storage_class_cases.py
+++ b/tests/functional/provisioning/test_storage_class_cases.py
@@ -83,7 +83,7 @@ class TestStorageClassCases(BaseClass):
self.addCleanup(
oc_delete, self.ocp_master_node[0], 'secret', self.secret_name)
sc_parameter = {
- "provisioner": "gluster.org/glusterblock",
+ "provisioner": self.get_block_provisioner_for_sc(),
"restsecretnamespace": sc['restsecretnamespace'],
"restsecretname": self.secret_name,
"hacount": sc['hacount']