[merge] change tests to use reduceLockdirTimeout rather than reimplementing it

Martin Pool mbp at canonical.com
Mon Mar 17 04:41:59 GMT 2008


jml and I are working on <https://launchpad.net/bugs/172392>, and
noticed that some tests hardcode something close to what
reduceLockdirTimeout does, even though it's always set up by the
TestCaseWithMemoryTransport base class.

This actually gives it a 0 second timeout rather than 1 but I think
this is equivalent - it still tries the lock once.

-- 
Martin <http://launchpad.net/~mbp/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080317-reducelockdirtimeout.diff
Type: text/x-diff
Size: 7418 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080317/e04cbf3d/attachment.bin 


More information about the bazaar mailing list