summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-06-29 13:03:53 +0530
committervamahaja <vamahaja@redhat.com>2020-07-02 13:20:11 +0530
commitc69180accc49392b242f56f226cf5efeaa9cebcb (patch)
tree1b7dab7879a4b57cf4b729078f68be0e1d8f4d21 /tests
parent78411ce2697b2e3b176bbe4d7fe35298ed308262 (diff)
[LibFix] Add 'collect_logs' param in 'oc_delete' lib
Change-Id: I9d99f367b82c6570e1390c6b137e0b9bf401a19c Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/heketi/test_restart_heketi_pod.py3
-rw-r--r--tests/glusterfs-containers-tests-config.yaml1
2 files changed, 3 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)
diff --git a/tests/glusterfs-containers-tests-config.yaml b/tests/glusterfs-containers-tests-config.yaml
index 8b7816a9..3629f3a6 100644
--- a/tests/glusterfs-containers-tests-config.yaml
+++ b/tests/glusterfs-containers-tests-config.yaml
@@ -105,6 +105,7 @@ common:
check_heketi_db_inconsistencies: True
stop_on_first_failure: False
heketi_command_timeout: 120
+ heketi_logs_before_delete: False
scaleup:
run_scale_up_on_start: True