Raymond Hettinger added the comment: > Some tests use time.sleep() as a basic synchronization primitive, > because other synchronization primitive cannot be used. For example, > lock_tests.py tests locks and so cannot use lock in its tests. > The problem is that slow buildbots require long sleep. It makes > the test suite slow, whereas fast buildbots could use short lseep
Would it be possible to create a decorator to make these test adaptive (run once with a short sleep and retry with a long sleep if the first fails)? ---------- nosy: +rhettinger _______________________________________ 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