internal/{fetch,frontend}: increase timeout

Increase timeout for TestFetch and TestFetchAndUpdatedState due to flaky
CI results.

Change-Id: I24af75e1efbb0f7ddbd5a26710bd5c3527fd1da0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/284932
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
diff --git a/internal/frontend/fetch_test.go b/internal/frontend/fetch_test.go
index 7b9fe67..97d138d 100644
--- a/internal/frontend/fetch_test.go
+++ b/internal/frontend/fetch_test.go
@@ -23,7 +23,7 @@
 	sourceTimeout       = 1 * time.Second
 	testModulePath      = "github.com/module"
 	testSemver          = "v1.5.2"
-	testFetchTimeout    = 100 * time.Second
+	testFetchTimeout    = 200 * time.Second
 	testModulesForProxy = []*proxy.Module{
 		{
 			ModulePath: testModulePath,
diff --git a/internal/worker/server_test.go b/internal/worker/server_test.go
index 47e4f64..824696a 100644
--- a/internal/worker/server_test.go
+++ b/internal/worker/server_test.go
@@ -30,7 +30,7 @@
 	"golang.org/x/pkgsite/internal/testing/sample"
 )
 
-const testTimeout = 60 * time.Second
+const testTimeout = 120 * time.Second
 
 var (
 	testDB     *postgres.DB