]> Cypherpunks repositories - gostls13.git/commit
test: apply GO_TEST_TIMEOUT_SCALE scaling to test timeouts
authorThan McIntosh <thanm@google.com>
Wed, 2 Feb 2022 19:09:26 +0000 (14:09 -0500)
committerThan McIntosh <thanm@google.com>
Mon, 7 Feb 2022 12:32:51 +0000 (12:32 +0000)
commit867a3d55024b654347fcbc0782a39ecd57d94a27
tree868293f0901d7faa540930c71366ecaf51443ae1
parent334a591a3f4d868368913328b3e81ddf5b0f46fa
test: apply GO_TEST_TIMEOUT_SCALE scaling to test timeouts

Change run.go to apply the GO_TEST_TIMEOUT_SCALE scaling factor to
test timeouts (mentioned in "-t" clause in test header).

Also with this patch, bump up the timeout for fixedbugs/issue46234.go
from 30 to 45 seconds, to avoid flakes on very slow builders.

Updates #50973.

Change-Id: Icbafa482860e24cc1e72fee53511bcc764d06bf1
Reviewed-on: https://go-review.googlesource.com/c/go/+/382774
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
test/fixedbugs/issue46234.go
test/run.go