fix(ci): increased timeout in flaky TestSourceRefreshesAfterPolicy on Windows (#2476)

This commit is contained in:
Jarek Kowalski
2022-10-01 20:36:23 -07:00
committed by GitHub
parent 14ec091cce
commit c06d50d218

View File

@@ -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)