Skip to content

Commit c1ca671

Browse files
authoredAug 30, 2020
Read timeouts (#210)
* Added reproducible test for early timeout reading from output streams when no output is available from stream. * Use gevent timeout instead of socket poll to avoid timeout being raised early when socket is blocked from another stream - resolves #180 * Updated changelog.
1 parent 4528ba5 commit c1ca671

File tree

5 files changed

+1587
-1119
lines changed

5 files changed

+1587
-1119
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ script:
3030
- eval `ssh-agent -s`
3131
- pytest --cov-append --cov=pssh tests/test_imports.py tests/test_output.py tests/test_utils.py
3232
- pytest --reruns 5 --cov-append --cov=pssh tests/miko
33-
- pytest --reruns 5 --cov-append --cov=pssh tests/native/test_tunnel.py tests/native/test_agent.py
33+
- pytest --reruns 10 --cov-append --cov=pssh tests/native/test_tunnel.py tests/native/test_agent.py
3434
- pytest --reruns 5 --cov-append --cov=pssh tests/native/test_*_client.py
3535
- pytest --reruns 5 --cov-append --cov=pssh tests/ssh
3636
- flake8 pssh

‎Changelog.rst

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Change Log
22
============
33

4+
1.12.1
5+
++++++
6+
7+
Fixes
8+
------
9+
10+
* Reading from output streams with timeout via `run_command(<..>, timeout=<timeout>)` would raise timeout early when trying to read from a stream with no data written to it while other streams have pending data - #180.
11+
12+
413
1.12.0
514
++++++
615

0 commit comments

Comments
 (0)
Failed to load comments.