Skip to content

Commit

Permalink
dashboard: increase TIMEOUT_SCALE to 2 for linux-amd64-longtest
Browse files Browse the repository at this point in the history
runtime tests take about 180s in long mode, too close to the timeout
limit (180 seconds), and this is causing sporadic timeout failures
like

  https://build.golang.org/log/cda568a39f396e3fee64778a475528be452632ed

Bump up the builder's timeout by 2x.

Fixes golang/go#25629

Change-Id: I77e0f86f0b236cb953457ebdcbfc5763c2c6d54b
Reviewed-on: https://go-review.googlesource.com/115016
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
ALTree authored and bradfitz committed May 29, 2018
1 parent 60a6a1c commit e7d3cfb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dashboard/builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,12 @@ func init() {
HostType: "host-linux-stretch",
MaxAtOnce: 1,
Notes: "Debian Stretch with go test -short=false",
env: []string{"GO_TEST_SHORT=0"},
env: []string{
"GO_TEST_SHORT=0",
// runtime takes ~190 seconds in long mode, which is over
// the 180 seconds default timeout.
"GO_TEST_TIMEOUT_SCALE=2",
},
})
addBuilder(BuildConfig{
Name: "linux-arm",
Expand Down

0 comments on commit e7d3cfb

Please sign in to comment.