From f6576d4f6f2698fc66f7ad1a761fa771999ae23a Mon Sep 17 00:00:00 2001 From: Ilyas Niyazov Date: Fri, 27 Sep 2024 16:53:52 +0300 Subject: [PATCH] [#302] Fixed logs metrics test --- pytest_tests/testsuites/metrics/test_logs_metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/metrics/test_logs_metrics.py b/pytest_tests/testsuites/metrics/test_logs_metrics.py index 795d097..cb0785f 100644 --- a/pytest_tests/testsuites/metrics/test_logs_metrics.py +++ b/pytest_tests/testsuites/metrics/test_logs_metrics.py @@ -41,7 +41,7 @@ class TestLogsMetrics(ClusterTestBase): logs = cluster_node.host.get_filtered_logs( log_level, unit="frostfs-storage", since=after_time, until=until_time, priority=log_priority ) - result = re.findall(rf"Z\s+{log_level}\s+", logs) + result = re.findall(rf"\s+{log_level}\s+", logs) count_logs += len(result) except RuntimeError as e: ...