summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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