From 77126f270657f08cfcb2e9cbf89b4b3b6884c140 Mon Sep 17 00:00:00 2001 From: "a.berezin" Date: Thu, 17 Oct 2024 15:07:53 +0300 Subject: [PATCH] [#311] add new pattern --- pytest_tests/testsuites/special/test_frostfs_logs.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/special/test_frostfs_logs.py b/pytest_tests/testsuites/special/test_frostfs_logs.py index 4f4acb50..8af9d513 100644 --- a/pytest_tests/testsuites/special/test_frostfs_logs.py +++ b/pytest_tests/testsuites/special/test_frostfs_logs.py @@ -31,7 +31,17 @@ class TestLogs: if not os.path.exists(logs_dir): os.makedirs(logs_dir) - issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|cannot assign requested address|\bunable to process\b" + regexes = [ + r"\bpanic\b", + r"\boom\b", + r"too many", + r"insufficient funds", + r"insufficient amount of gas", + r"cannot assign requested address", + r"\bunable to process\b", + r"\bmaximum number of subscriptions is reached\b", + ] + issues_regex = "|".join(regexes) exclude_filter = r"too many requests" log_level_priority = "3" # will include 0-3 priority logs (0: emergency 1: alerts 2: critical 3: errors)