Message213497
> 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)? |
|
Date |
User |
Action |
Args |
2014-03-14 00:08:12 | rhettinger | set | recipients:
+ rhettinger, ncoghlan, pitrou, vstinner, ned.deily, r.david.murray, neologix, zach.ware, serhiy.storchaka |
2014-03-14 00:08:12 | rhettinger | set | messageid: <1394755692.23.0.0804426257405.issue20910@psf.upfronthosting.co.za> |
2014-03-14 00:08:12 | rhettinger | link | issue20910 messages |
2014-03-14 00:08:12 | rhettinger | create | |
|