From b9c58bcc005ab20e67e028255fab06b5545e9cf4 Mon Sep 17 00:00:00 2001 From: prsurve Date: Mon, 10 Jun 2024 13:12:05 +0530 Subject: [PATCH] revert Signed-off-by: prsurve --- ocs_ci/framework/pytest_customization/ocscilib.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ocs_ci/framework/pytest_customization/ocscilib.py b/ocs_ci/framework/pytest_customization/ocscilib.py index e3f42fc976cb..e9043537a506 100644 --- a/ocs_ci/framework/pytest_customization/ocscilib.py +++ b/ocs_ci/framework/pytest_customization/ocscilib.py @@ -695,13 +695,12 @@ def pytest_runtest_makereport(item, call): ) try: if not ocsci_config.RUN.get("is_ocp_deployment_failed"): - pass - # collect_ocs_logs( - # dir_name=test_case_name, - # ocp=ocp_logs_collection, - # ocs=ocs_logs_collection, - # mcg=mcg_logs_collection, - # ) + collect_ocs_logs( + dir_name=test_case_name, + ocp=ocp_logs_collection, + ocs=ocs_logs_collection, + mcg=mcg_logs_collection, + ) except Exception: log.exception("Failed to collect OCS logs")