[issue2777] subprocess unit tests for kill, term and send_signal flaky
Florent Xicluna
report at bugs.python.org
Thu Mar 4 21:59:02 CET 2010
Florent Xicluna <florent.xicluna at gmail.com> added the comment:
I experienced this hang with Linux AMD64.
It occurs in test_send_signal.
It is because signal.SIGINT is not always handled (see #3137).
As a workaround, there's 2 choices: add a delay between Popen and send_signal, or retry SIGINT 2 or 3 times.
Windows should not be affected, because it uses signal SIGTERM in the test.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2777>
_______________________________________
More information about the Python-bugs-list
mailing list