Commit 5cb2daba authored by Axel Kingsley's avatar Axel Kingsley Committed by GitHub

test: longer Eventually timeout for TestWorker (#12822)

parent b638304d
...@@ -94,7 +94,7 @@ func TestWorker(t *testing.T) { ...@@ -94,7 +94,7 @@ func TestWorker(t *testing.T) {
w.StartBackground() w.StartBackground()
require.Eventually(t, func() bool { require.Eventually(t, func() bool {
return count == 10 return count == 10
}, 2*time.Second, 100*time.Millisecond) }, 10*time.Second, time.Second)
// once the worker is closed, it stops running // once the worker is closed, it stops running
// and the count does not increment // and the count does not increment
w.Close() w.Close()
......
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