Commit d0fbe7b2 authored by Klaus Ma's avatar Klaus Ma

Fix k8sm flaky UT.

parent 88bcf4a5
......@@ -125,9 +125,9 @@ func TestDQ_sanity_check(t *testing.T) {
dq := NewDelayQueue()
delay := 2 * time.Second
dq.Add(&testjob{d: delay})
before := time.Now()
dq.Add(&testjob{d: delay})
x := dq.Pop()
now := time.Now()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment