summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2019-12-14 15:57:33 +0530
committervponomar <vponomar@redhat.com>2019-12-16 09:46:03 +0000
commit678dd026c8961a713dec15a153ef9da64c6b171b (patch)
treed091dc762e89700d29c1efd7062d6376013fb755
parentce43a9d8befd19923e009248b27a826784ce9039 (diff)
Fix 'test_heketi_node_operations' tc checking correct config option
'test_heketi_node_operations' tc tried to use incorrect 'additional_gluster_servers.additional_devices' config option. Change it to 'additional_gluster_servers.devices', as it is expected by the configuration. Change-Id: I2351814bf35a78724f84d954abd7ce780e945328 Signed-off-by: vamahaja <vamahaja@redhat.com>
-rw-r--r--tests/functional/heketi/test_heketi_cluster_operations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/heketi/test_heketi_cluster_operations.py b/tests/functional/heketi/test_heketi_cluster_operations.py
index 87e8b35..c26ac6b 100644
--- a/tests/functional/heketi/test_heketi_cluster_operations.py
+++ b/tests/functional/heketi/test_heketi_cluster_operations.py
@@ -109,11 +109,11 @@ class TestClusterOperationsTestCases(baseclass.BaseClass):
try:
storage_hostname = storage_host_info["manage"]
storage_ip = storage_host_info["storage"]
- storage_device = storage_host_info["additional_devices"][0]
+ storage_device = storage_host_info["devices"][0]
except KeyError:
msg = ("Config options 'additional_gluster_servers.manage' "
"'additional_gluster_servers.storage' and "
- "'additional_gluster_servers.additional_devices' "
+ "'additional_gluster_servers.devices' "
"must be set.")
g.log.error(msg)
raise exceptions.ConfigError(msg)