diff options
author | vamahaja <vamahaja@redhat.com> | 2020-06-29 13:03:53 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2020-07-02 13:20:11 +0530 |
commit | c69180accc49392b242f56f226cf5efeaa9cebcb (patch) | |
tree | 1b7dab7879a4b57cf4b729078f68be0e1d8f4d21 /tests/functional/heketi | |
parent | 78411ce2697b2e3b176bbe4d7fe35298ed308262 (diff) |
[LibFix] Add 'collect_logs' param in 'oc_delete' lib
Change-Id: I9d99f367b82c6570e1390c6b137e0b9bf401a19c
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi')
-rw-r--r-- | tests/functional/heketi/test_restart_heketi_pod.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/heketi/test_restart_heketi_pod.py b/tests/functional/heketi/test_restart_heketi_pod.py index 90f49682..a6c973ec 100644 --- a/tests/functional/heketi/test_restart_heketi_pod.py +++ b/tests/functional/heketi/test_restart_heketi_pod.py @@ -49,7 +49,8 @@ class TestRestartHeketi(BaseClass): self.heketi_dc_name) # delete heketi-pod (it restarts the pod) - oc_delete(self.ocp_master_node[0], 'pod', heketi_pod_name) + oc_delete(self.ocp_master_node[0], 'pod', + heketi_pod_name, collect_logs=self.heketi_logs_before_delete) wait_for_resource_absence(self.ocp_master_node[0], 'pod', heketi_pod_name) |