remove stderr check from _cat_proc_file #347

Merged
d.zayakin merged 1 commit from mmalygina/frostfs-testlib:fix-failing-cat into master 2025-01-15 09:51:33 +00:00

View file

@ -193,7 +193,7 @@ class RemoteProcess:
) )
if "No such file or directory" in terminal.stderr: if "No such file or directory" in terminal.stderr:
return None return None
elif terminal.stderr or terminal.return_code != 0: elif terminal.return_code != 0:
raise AssertionError(f"cat process {file} was not successful: {terminal.stderr}") raise AssertionError(f"cat process {file} was not successful: {terminal.stderr}")
return terminal.stdout return terminal.stdout