Skip to content

Commit 6622d7c

Browse files
author
Dan
committed
Increase channel timeout in test
1 parent 1f7e9b4 commit 6622d7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pssh_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,9 @@ def test_pty(self):
942942
self.assertTrue(exit_code == 0)
943943

944944
def test_channel_timeout(self):
945+
del self.client
945946
cmd = "sleep 2; echo me"
946-
self.client = ParallelSSHClient([self.host], channel_timeout=.1)
947+
self.client = ParallelSSHClient([self.host], channel_timeout=1)
947948
output = self.client.run_command(cmd)
948949
self.assertRaises(socket_timeout, list, output[self.host]['stdout'])
949950

0 commit comments

Comments
 (0)