Skip to content

Commit

Permalink
fix: extend timeout for slow CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Sep 15, 2023
1 parent df3a60d commit 2dbd2ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/retriever/httpretriever_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ func TestHTTPRetriever(t *testing.T) {
t.Parallel()

req := require.New(t)
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
defer cancel()

clock := clock.NewMock()
Expand All @@ -884,7 +884,7 @@ func TestHTTPRetriever(t *testing.T) {

mockSession := testutil.NewMockSession(ctx)
mockSession.SetCandidatePreferenceOrder(append(cid1Cands, cid2Cands...))
mockSession.SetProviderTimeout(5 * time.Second)
mockSession.SetProviderTimeout(10 * time.Second)
retriever := retriever.NewHttpRetrieverWithDeps(mockSession, client, clock, nil, initialPause, true)

blockAccounting := make([]*blockAccounter, 0)
Expand Down

0 comments on commit 2dbd2ce

Please sign in to comment.