[issue23680] Sporadic freeze in test_interrupted_write_retry_text

STINNER Victor report at bugs.python.org
Mon Mar 16 17:28:12 CET 2015


STINNER Victor added the comment:

> The system is rather slow (a shared VPS instance). In the trace you can SIGALRM is triggered before the first write() call (or so it seems).

Yep. It remembers me my old idea to make "sleep configurable" in tests: issue #20910.

Most of the time, 1 second is enough. But on such very slow setup, it's annoying to get random failures because of race conditions. It would be better to use longer timeout (ex: 5 seconds), without making tests longer on other buildbots.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23680>
_______________________________________


More information about the Python-bugs-list mailing list