internal/proxydatasource: increase test timeout
This test suite is flaking in CI, with a relatively short timeout of 5s.
Increase to 20s.
Run-TryBot: Robert Findley
TryBot-Result: kokoro
@@ -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()
