This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients ncoghlan, ned.deily, neologix, pitrou, r.david.murray, rhettinger, serhiy.storchaka, vstinner, zach.ware
Date 2014-03-14.00:08:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394755692.23.0.0804426257405.issue20910@psf.upfronthosting.co.za>
In-reply-to
Content
> 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)?
History
Date User Action Args
2014-03-14 00:08:12rhettingersetrecipients: + rhettinger, ncoghlan, pitrou, vstinner, ned.deily, r.david.murray, neologix, zach.ware, serhiy.storchaka
2014-03-14 00:08:12rhettingersetmessageid: <1394755692.23.0.0804426257405.issue20910@psf.upfronthosting.co.za>
2014-03-14 00:08:12rhettingerlinkissue20910 messages
2014-03-14 00:08:12rhettingercreate