Update regex to skip panic in OID and CID
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
3455c5360d
commit
28a7748398
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ class TestLogs(ClusterTestBase):
|
||||||
end_time = datetime.utcnow()
|
end_time = datetime.utcnow()
|
||||||
logs_dir = os.path.join(temp_directory, "logs")
|
logs_dir = os.path.join(temp_directory, "logs")
|
||||||
os.makedirs(logs_dir)
|
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 = []
|
hosts_with_problems = []
|
||||||
for host in self.cluster.hosts:
|
for host in self.cluster.hosts:
|
||||||
|
|
Loading…
Reference in a new issue