<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Aug 5, 2015 at 9:47 AM Tim Penhey <<a href="mailto:tim.penhey@canonical.com">tim.penhey@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/08/15 17:54, Andrew Wilkins wrote:<br>
> Hi,<br>
><br>
> I'd like to add a new third-party dependency for testing:<br>
> <a href="http://github.com/benbjohnson/clock" rel="noreferrer" target="_blank">github.com/benbjohnson/clock</a> <<a href="http://github.com/benbjohnson/clock" rel="noreferrer" target="_blank">http://github.com/benbjohnson/clock</a>>. I<br>
> intend to use this for testing forthcoming retry scheduling logic in the<br>
> storage provisioner. Any objections?<br>
<br>
I now that William has been working on mocking time a different way for<br>
some of the leadership tests.<br>
<br>
We should make sure we have consistency across this.<br>
<br>
Tim<br></blockquote><div><br></div><div>The approach William has taken is actually pretty much identical to what I'm doing. The primary difference is that he has implemented a mock Clock himself. The mock does not implement After(), which I do need in my code. I can implement this myself, but I'd rather we just used something off the shelf.</div><div><br></div><div>Cheers,</div><div>Andrew</div></div></div>