From 9456a0bb28b56fb5b01d9794350f11d49ddb99e6 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Tue, 29 Aug 2023 18:30:24 +0300 Subject: [PATCH] Update regex to catch more errors --- pytest_tests/testsuites/special/test_logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/special/test_logs.py b/pytest_tests/testsuites/special/test_logs.py index cfddb3c..a094928 100644 --- a/pytest_tests/testsuites/special/test_logs.py +++ b/pytest_tests/testsuites/special/test_logs.py @@ -18,7 +18,7 @@ class TestLogs(ClusterTestBase): end_time = datetime.utcnow() logs_dir = os.path.join(temp_directory, "logs") os.makedirs(logs_dir) - issues_regex = r"\Wpanic\W|\Woom\W|\Wtoo many\W|\Winsufficient funds\W" + issues_regex = r"panic|\boom\b|too many|insufficient funds" hosts_with_problems = [] for host in self.cluster.hosts: