From 28a7748398a212ebe4be60c10a0794d9985cdedc Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Wed, 6 Sep 2023 17:13:26 +0300 Subject: [PATCH] Update regex to skip panic in OID and CID Signed-off-by: Andrey Berezin --- pytest_tests/testsuites/special/test_logs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/special/test_logs.py b/pytest_tests/testsuites/special/test_logs.py index a094928..080dad3 100644 --- a/pytest_tests/testsuites/special/test_logs.py +++ b/pytest_tests/testsuites/special/test_logs.py @@ -18,7 +18,8 @@ class TestLogs(ClusterTestBase): end_time = datetime.utcnow() logs_dir = os.path.join(temp_directory, "logs") os.makedirs(logs_dir) - issues_regex = r"panic|\boom\b|too many|insufficient funds" + # Using \b here because 'oom' and 'panic' can sometimes be found in OID or CID + issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds" hosts_with_problems = [] for host in self.cluster.hosts: