internal/fetch: increase timeout for TestFetchModule
Tests were failing in CI.
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
Trust: Julie Qiu
@@ -88,7 +88,7 @@ func TestFetchModule(t *testing.T) {
}
t.Run(fmt.Sprintf("%s:%s", fetcher.name, test.name), func(t *testing.T) {
ctx := context.Background()
- ctx, cancel := context.WithTimeout(ctx, 150*time.Second)
+ ctx, cancel := context.WithTimeout(ctx, 300*time.Second)
defer cancel()
got, d := fetcher.fetch(t, true, ctx, test.mod, test.fetchVersion)
