cmd/bench: increase timeout for gopls tests to 180m

With recently added benchmarks, gopls benchmarks are starting to time
out.

Increase to 180m for now; we'll revisit if the benchmarks can be made
faster.

Change-Id: I2f60a8b606bebaaffac347173bdd064646e2a5fc
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/530915
Auto-Submit: Robert Findley <rfindley@google.com>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
pull/8/head
Rob Findley 2023-09-25 09:39:54 -04:00 committed by Gopher Robot
parent 84f2805de5
commit 1082dde546
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func goTestSubrepo(tc *toolchain, subRepo, baselineDir, experimentDir string) er
fmt.Printf("toolchain: %s\n", test.name) // set the toolchain tag
goplsPath := filepath.Join(test.goplsDir, "gopls")
err = tc.Do(benchmarkDir, "test", "-short", "-bench=.", fmt.Sprintf(`-gopls_path=%s`, goplsPath), "-count=5", "-timeout=60m")
err = tc.Do(benchmarkDir, "test", "-short", "-bench=.", fmt.Sprintf(`-gopls_path=%s`, goplsPath), "-count=5", "-timeout=180m")
if err != nil {
return fmt.Errorf("error running sub-repo %s benchmark %q with toolchain %s in dir %s: %w", subRepo, test.name, tc.Name, benchmarkDir, err)
}