summaryrefslogtreecommitdiffstats
path: root/tests/functional/common/gluster_block/test_restart_gluster_block.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2018-12-25 21:09:09 +0530
committerValerii Ponomarov <vponomar@redhat.com>2018-12-25 23:20:48 +0530
commita118c991bfd5368aee517cc26188b1e3fee82d1f (patch)
treea4f966c1ce2fa649b6081d9c08b11028ec23a052 /tests/functional/common/gluster_block/test_restart_gluster_block.py
parent8b6107b62dacf5edc264f4f0206771d8fa07f7bf (diff)
Refactor config options
Doing following: - Rename top-level config option group called 'cns' to the 'openshift'. - Rename 'cns.setup.cns_project_name' option to the 'openshift.storage_project_name'. - Rename 'scale' option to the 'openshift.scale'. - Delete ''devices' and 'zone' options from 'gluster_servers' config group. - Delete 'cns.setup.cnd_username' option as unneeded. - Delete 'cns.setup.cnd_password' option as unneeded. - Delete 'oc_login' common function as unneeded after deletion of 'cns.setup.cnd_username' and 'cns.setup.cnd_password' options. - Remove 'Cns' word from base classes. - Keep backwards compatibility for old options to make transition be smooth. Change-Id: I04ddbbad5f64ffeac79a6744480d33a263d63001
Diffstat (limited to 'tests/functional/common/gluster_block/test_restart_gluster_block.py')
-rw-r--r--tests/functional/common/gluster_block/test_restart_gluster_block.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/common/gluster_block/test_restart_gluster_block.py b/tests/functional/common/gluster_block/test_restart_gluster_block.py
index aa2b1e62..b2d74d92 100644
--- a/tests/functional/common/gluster_block/test_restart_gluster_block.py
+++ b/tests/functional/common/gluster_block/test_restart_gluster_block.py
@@ -23,9 +23,8 @@ class TestRestartGlusterBlockPod(HeketiBaseClass):
self.addCleanup(heketi_blockvolume_delete, self.heketi_client_node,
self.heketi_server_url, vol_info['id'])
- dc_name = ("glusterblock-%s-provisioner-dc"
- % self.cns_project_name)
# restart gluster-block-provisioner-pod
+ dc_name = "glusterblock-%s-provisioner-dc" % self.storage_project_name
pod_name = get_pod_name_from_dc(self.ocp_master_node, dc_name)
oc_delete(self.ocp_master_node, 'pod', pod_name)
wait_for_resource_absence(self.ocp_master_node, 'pod', pod_name)