From c06d50d218bb9c0d7e0d514cf950eaa1e2ddce4d Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Sat, 1 Oct 2022 20:36:23 -0700 Subject: [PATCH] fix(ci): increased timeout in flaky TestSourceRefreshesAfterPolicy on Windows (#2476) --- internal/server/api_sources_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/api_sources_test.go b/internal/server/api_sources_test.go index 09e3cd736..356b981c9 100644 --- a/internal/server/api_sources_test.go +++ b/internal/server/api_sources_test.go @@ -141,7 +141,7 @@ func TestSourceRefreshesAfterPolicy(t *testing.T) { // make sure that soon after setting policy, the next snapshot time is up-to-date. match := false - for attempt := 0; attempt < 3; attempt++ { + for attempt := 0; attempt < 15; attempt++ { sources = mustListSources(t, cli, &snapshot.SourceInfo{}) require.Len(t, sources, 1) require.NotNil(t, sources[0].NextSnapshotTime)