summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-02-28 13:03:23 +0530
committervamahaja <vamahaja@redhat.com>2020-02-28 13:06:50 +0530
commitb9db2f4be8f1dcabb31f3ea93f9b3b12bff66603 (patch)
tree28f261b0e640c6028459b9d92b9fc08fcecd1f99 /tests/functional/heketi
parent237e89c33fcea281b4190c11edc25896a578ab31 (diff)
[Testfix] Fix function call for `get_pod_name_from_dc`
Fix consists of - Remove dc name which is passed twice to function 'get_pod_name_from_dc' In test case 'test_heketi_metrics_heketipod_failure' function 'get_pod_name_from_dc' is called by passing dc name twice, because of which 'timeout' is passed as dc name instead of integer value hence raising an exception 'TypeError'. Change-Id: I6827a8f9bbd847f346ea6b519db97181219f9717 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi')
-rw-r--r--tests/functional/heketi/test_heketi_metrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/heketi/test_heketi_metrics.py b/tests/functional/heketi/test_heketi_metrics.py
index 65a8c2ec..8c74f5f5 100644
--- a/tests/functional/heketi/test_heketi_metrics.py
+++ b/tests/functional/heketi/test_heketi_metrics.py
@@ -193,7 +193,7 @@ class TestHeketiMetrics(BaseClass):
self.ocp_master_node[0], self.heketi_dc_name, pod_amount=1)
pod_name = get_pod_name_from_dc(
- self.ocp_master_node[0], self.heketi_dc_name, self.heketi_dc_name)
+ self.ocp_master_node[0], self.heketi_dc_name)
wait_for_pod_be_ready(self.ocp_master_node[0], pod_name, wait_step=5)
for i in range(3):