From da06c09ed07c80fe4d1d4b808c2dc55738bb7096 Mon Sep 17 00:00:00 2001 From: mkadilov Date: Wed, 22 Nov 2023 18:54:59 +0300 Subject: [PATCH] [#150] Patterns for keys in logs added Now regex can find kyes in logs Signed-off-by: Mikhail Kadilov --- 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 a4cea1e6..f83cb515 100644 --- a/pytest_tests/testsuites/special/test_logs.py +++ b/pytest_tests/testsuites/special/test_logs.py @@ -34,7 +34,7 @@ class TestLogs: logs_dir = os.path.join(temp_directory, "logs") os.makedirs(logs_dir) # 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|insufficient amount of gas" + issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|wallet passwd|secret key|access key" futures = parallel( self._collect_logs_on_host, cluster.hosts, logs_dir, issues_regex, session_start_time, end_time