From 6622d7cf8d14cec41b7f873a53af180a5898d639 Mon Sep 17 00:00:00 2001 From: Dan <22e889d8@opayq.com> Date: Wed, 11 Jan 2017 17:47:37 +0000 Subject: [PATCH] Increase channel timeout in test --- tests/test_pssh_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_pssh_client.py b/tests/test_pssh_client.py index 75848d42..2bb5109f 100644 --- a/tests/test_pssh_client.py +++ b/tests/test_pssh_client.py @@ -942,8 +942,9 @@ def test_pty(self): self.assertTrue(exit_code == 0) def test_channel_timeout(self): + del self.client cmd = "sleep 2; echo me" - self.client = ParallelSSHClient([self.host], channel_timeout=.1) + self.client = ParallelSSHClient([self.host], channel_timeout=1) output = self.client.run_command(cmd) self.assertRaises(socket_timeout, list, output[self.host]['stdout'])