We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7e9b4 commit 6622d7cCopy full SHA for 6622d7c
tests/test_pssh_client.py
@@ -942,8 +942,9 @@ def test_pty(self):
942
self.assertTrue(exit_code == 0)
943
944
def test_channel_timeout(self):
945
+ del self.client
946
cmd = "sleep 2; echo me"
- self.client = ParallelSSHClient([self.host], channel_timeout=.1)
947
+ self.client = ParallelSSHClient([self.host], channel_timeout=1)
948
output = self.client.run_command(cmd)
949
self.assertRaises(socket_timeout, list, output[self.host]['stdout'])
950
0 commit comments