[#302] Fixed logs metrics test

This commit is contained in:
Ilyas Niyazov 2024-09-27 16:53:52 +03:00
parent 1afadfa363
commit f6576d4f6f

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