[#302] Fixed logs metrics test
This commit is contained in:
parent
1afadfa363
commit
f6576d4f6f
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class TestLogsMetrics(ClusterTestBase):
|
||||||
logs = cluster_node.host.get_filtered_logs(
|
logs = cluster_node.host.get_filtered_logs(
|
||||||
log_level, unit="frostfs-storage", since=after_time, until=until_time, priority=log_priority
|
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)
|
count_logs += len(result)
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue