Skip to content

Commit

Permalink
internal/proxydatasource: increase test timeout
Browse files Browse the repository at this point in the history
This test suite is flaking in CI, with a relatively short timeout of 5s.
Increase to 20s.

Change-Id: Ifb9095d8b453a68e756e4dbf87d80eb4cbecf6e8
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/245320
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
  • Loading branch information
findleyr committed Jul 28, 2020
1 parent bfc2a45 commit a438fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxydatasource/datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func setup(t *testing.T) (context.Context, *DataSource, func()) {
},
}
client, teardownProxy := proxy.SetupTestProxy(t, testModules)
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
return ctx, New(client), func() {
teardownProxy()
cancel()
Expand Down

0 comments on commit a438fca

Please sign in to comment.