From 5630207c0beb964e9723cecdcda0810e438cd2ac Mon Sep 17 00:00:00 2001 From: Sandra Romanchenko <53295797+sandraromanchenko@users.noreply.github.com> Date: Tue, 17 Jun 2025 11:30:02 +0300 Subject: [PATCH] Revert "PBM_T295 ignore errors related to active lock (#361)" This reverts commit 8294542ed4e3306a425ceb231eb7e70999cce27d. --- pbm-functional/pytest/test_PBM-1439.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pbm-functional/pytest/test_PBM-1439.py b/pbm-functional/pytest/test_PBM-1439.py index a2d2e94a..7f1d4980 100644 --- a/pbm-functional/pytest/test_PBM-1439.py +++ b/pbm-functional/pytest/test_PBM-1439.py @@ -66,7 +66,7 @@ def insert_random_data(start_id, count): insert_thread.join() assert result.rc == 0, f"PBM backup failed\nstderr:\n{result.stderr}" logs=cluster.exec_pbm_cli("logs -sD -t0 -e backup") - error_lines = [line for line in logs.stdout.splitlines() if " E " in line and "active lock is present" not in line] + error_lines = [line for line in logs.stdout.splitlines() if " E " in line] if error_lines: error_summary = "\n".join(error_lines) raise AssertionError(f"Errors found in PBM backup logs\n{error_summary}") @@ -101,7 +101,7 @@ def insert_random_data(count): insert_thread.join() assert result.rc == 0, f"PBM backup failed\nstderr:\n{result.stderr}" logs = cluster.exec_pbm_cli("logs -sD -t0 -e backup") - error_lines = [line for line in logs.stdout.splitlines() if " E " in line and "active lock is present" not in line] + error_lines = [line for line in logs.stdout.splitlines() if " E " in line] if error_lines: error_summary = "\n".join(error_lines) raise AssertionError(f"Errors found in PBM backup logs\n{error_summary}")