diff --git a/flytestdlib/cache/auto_refresh_test.go b/flytestdlib/cache/auto_refresh_test.go index 59ae4b7494f..5e1c49777e3 100644 --- a/flytestdlib/cache/auto_refresh_test.go +++ b/flytestdlib/cache/auto_refresh_test.go @@ -199,7 +199,7 @@ func TestCacheFour(t *testing.T) { // wait for all workers to run assert.Eventually(t, func() bool { return syncer.callCount.Load() == int32(10) - }, time.Second, time.Millisecond) + }, 5*time.Second, time.Millisecond) // wait some more time time.Sleep(500 * time.Millisecond)