← Back to team overview

launchpad-dev team mailing list archive

Re: Please be very lenient in your test timeouts--or don't write them!

 

On Monday 04 June 2012 16:11:42 Gary Poster wrote:
>  * Using wall-clock time to verify something is fragile anyway.  Test
> something else related instead (e.g., the number of queries performed).

Totally agree.

As far as I am concerned, if a test relies on wall clock time it's already 
broken.

FWIW, Twisted has a fake clock that you can wind forwards/backwards at will 
which is really handy for this sort of thing.


Follow ups

References