Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Paramiko deadlock when test sends more than 2MB to stdout
The paramiko library has a known problem where checking the exit status can cause a deadlock if the command has written a lot of output to the stdout (or stderr) channel: https://docs.paramiko.org/en/stable/api/channel.html#paramiko.channel.Channel.recv_exit_status We can work around this, for the stdout case, by reading the data before checking the exit status.
- Loading branch information