Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Test_RefreshNSEClient_SetsCorrectExpireTime #1254

Merged
merged 12 commits into from
Apr 15, 2022
2 changes: 1 addition & 1 deletion pkg/registry/common/refresh/nse_registry_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func Test_RefreshNSEClient_SetsCorrectExpireTime(t *testing.T) {
clockMock.Add(expireTimeout / 3 * 2)
require.Eventually(t, func() bool {
return atomic.LoadInt32(&countClient.requestCount) > count
}, testWait, testTick)
}, 4*testWait, testTick)

// Wait for the Refresh to fully happen
time.Sleep(testWait)
Expand Down