Update regex to skip panic in OID and CID

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2023-09-06 17:13:26 +03:00
parent 3455c5360d
commit 28a7748398

View file

@ -18,7 +18,8 @@ class TestLogs(ClusterTestBase):
end_time = datetime.utcnow()
logs_dir = os.path.join(temp_directory, "logs")
os.makedirs(logs_dir)
issues_regex = r"panic|\boom\b|too many|insufficient funds"
# 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"
hosts_with_problems = []
for host in self.cluster.hosts: