forked from TrueCloudLab/frostfs-testcases
Add too many open files to logs analyzer
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
4099413577
commit
ced72602ef
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ def default_wallet(client_shell: Shell, temp_directory: str, cluster: Cluster):
|
||||||
|
|
||||||
@allure.title("Check logs for OOM and PANIC entries in {logs_dir}")
|
@allure.title("Check logs for OOM and PANIC entries in {logs_dir}")
|
||||||
def check_logs(logs_dir: str):
|
def check_logs(logs_dir: str):
|
||||||
problem_pattern = r"\Wpanic\W|\Woom\W"
|
problem_pattern = r"\Wpanic\W|\Woom\W|\Wtoo many open files\W"
|
||||||
|
|
||||||
log_file_paths = []
|
log_file_paths = []
|
||||||
for directory_path, _, file_names in os.walk(logs_dir):
|
for directory_path, _, file_names in os.walk(logs_dir):
|
||||||
|
|
Loading…
Reference in a new issue