[#302] Fixed logs metrics test #302

Merged
i.niyazov merged 1 commit from i.niyazov/frostfs-testcases:fix-logs-metrics-tests into master 2024-10-03 06:40:14 +00:00

View file

@ -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:
...