extend fake clock

This commit is contained in:
Daniel Smith
2016-02-01 10:50:05 -08:00
parent 92ec286ecc
commit 4a7d70aef1
14 changed files with 181 additions and 40 deletions

View File

@@ -98,7 +98,7 @@ func TestPuller(t *testing.T) {
}
backOff := util.NewBackOff(time.Second, time.Minute)
fakeClock := &util.FakeClock{Time: time.Now()}
fakeClock := util.NewFakeClock(time.Now())
backOff.Clock = fakeClock
fakeRuntime := &FakeRuntime{}