Skip to content

Commit a438fca

Browse files
committed
internal/proxydatasource: increase test timeout
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 <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
1 parent bfc2a45 commit a438fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/proxydatasource/datasource_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func setup(t *testing.T) (context.Context, *DataSource, func()) {
4343
},
4444
}
4545
client, teardownProxy := proxy.SetupTestProxy(t, testModules)
46-
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
46+
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
4747
return ctx, New(client), func() {
4848
teardownProxy()
4949
cancel()

0 commit comments

Comments
 (0)