Probe fix for filedescriptor issue #97

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:bugfix-probe-fix-for-filedescriptor-issue into master 2023-10-11 16:38:11 +00:00
Showing only changes of commit 98f9c78f09 - Show all commits

View file

@ -39,7 +39,7 @@ class LocalShell(Shell):
log_file = tempfile.TemporaryFile() # File is reliable cross-platform way to capture output
try:
command_process = pexpect.spawn(command, timeout=options.timeout)
command_process = pexpect.spawn(command, timeout=options.timeout, use_poll=True)
except (pexpect.ExceptionPexpect, OSError) as exc:
raise RuntimeError(f"Command: {command}") from exc