Commit 0910ada
committed
mitogen: _first_stage: Add timeout handling
Do not wait/block forever for data to be read.
Add a test for this.
The test can be run using the following command:
PYTHONPATH=$(pwd)/tests:$PYTHONPATH python -m unittest -v tests.first_stage_test
-SSH command size: 838
+SSH command size: 906
Original Minimized Compressed
-mitogen.parent 98827 96.5KiB 51219 50.0KiB 51.8% 12942 12.6KiB 13.1%
+mitogen.parent 99063 96.7KiB 51318 50.1KiB 51.8% 12979 12.7KiB 13.1%
Signed-off-by: Marc Hartmayer <[email protected]>1 parent fa2f663 commit 0910ada
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1418 | 1418 | | |
1419 | 1419 | | |
1420 | 1420 | | |
| 1421 | + | |
| 1422 | + | |
1421 | 1423 | | |
1422 | 1424 | | |
1423 | 1425 | | |
| |||
1439 | 1441 | | |
1440 | 1442 | | |
1441 | 1443 | | |
1442 | | - | |
1443 | | - | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
1444 | 1454 | | |
1445 | 1455 | | |
1446 | 1456 | | |
| |||
0 commit comments