STINNER Victor added the comment:

"I don't like these patches at all. It is not obvious that making sleep times 
configurable improves things at all, and it's one more complication in the test 
suite that people will have to care about."
The default timings should choosen to work on most computers. The idea is to 
add an option for very slow buildbots. In my experience, sporadic test failures 
related to time only occur on a few buildbots. Sorry, I don't have the list, 
but most timing issues occur on between 3 or maybe 4 buildbots.


"I agree with Antoine.  There is never going to be a right value for sleep: the 
behavior of the buildbots can vary so much from run to run, especially if there 
are multiple VMs running on one host.  If anything, we should be working to 
remove as many "sleep" dependencies from the test suite as possible, not 
encourage their use."

Making tests faster is not my first target, it's just a side effect. My first 
goal is to make tests more reliable. I want all buildbots to be always 100% 
green.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20910>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to