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}")