diff --git a/tests/native/test_single_client.py b/tests/native/test_single_client.py index fbd837c1..33594b74 100644 --- a/tests/native/test_single_client.py +++ b/tests/native/test_single_client.py @@ -405,10 +405,10 @@ def test_auth_retry_failure(self): def test_connection_timeout(self): cmd = spawn(SSHClient, 'fakehost.com', port=12345, - num_retries=1, timeout=1, _auth_thread_pool=False) + num_retries=1, timeout=.1, _auth_thread_pool=False) # Should fail within greenlet timeout, otherwise greenlet will # raise timeout which will fail the test - self.assertRaises(ConnectionErrorException, cmd.get, timeout=2) + self.assertRaises(ConnectionErrorException, cmd.get, timeout=1) def test_client_read_timeout(self): client = SSHClient(self.host, port=self.port,