We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8061aa commit 89cc3b0Copy full SHA for 89cc3b0
timewheel_test.go
@@ -62,6 +62,7 @@ func (ts *TimeWheelTestSuite) TestRunTask() {
62
ts.tw.AddTask(time.Second*2, "2s")
63
ts.tw.AddTask(time.Millisecond*1500, "1.5s")
64
65
+ time.Sleep(time.Millisecond * 100)
66
should.Equal(6, ts.tw.GetTaskSize())
67
68
ts.tw.RemoveTask("fake-key") // will be ignored because it is not in the task list
0 commit comments