Closed GoogleCodeExporter closed 9 years ago
Specifically, we need NanoClock for the implementation of
ExponentialBackOffPolicy.
This is rare, but I actually got this test failure:
junit.framework.AssertionFailedError: expected:<-1> but was:<1067>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:130)
at junit.framework.Assert.assertEquals(Assert.java:136)
at com.google.api.client.http.ExponentialBackOffPolicyTest.testMaxElapsedTime(ExponentialBackOffPolicyTest.java:158)
Perhaps we can write this test better if we had NanoClock.
Original comment by yan...@google.com
on 18 Dec 2012 at 1:51
https://codereview.appspot.com/7095045/
Original comment by yan...@google.com
on 11 Jan 2013 at 10:51
Original comment by yan...@google.com
on 14 Jan 2013 at 9:38
Original issue reported on code.google.com by
yan...@google.com
on 18 Dec 2012 at 1:49