]> Cypherpunks repositories - gostls13.git/commit
os/exec: eliminate some arbitrary short timeouts
authorBryan C. Mills <bcmills@google.com>
Tue, 10 May 2022 13:07:34 +0000 (09:07 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 10 May 2022 22:12:11 +0000 (22:12 +0000)
commit6fd0520db3cffad4fd01c98319b9b1bf3c50f5e2
treec83bdd0ad6ee59a6f72af704b0427fced40f695d
parentbda9da844df7cbde152e88b1f9b59e9360a4a2f9
os/exec: eliminate some arbitrary short timeouts

These tests appear to be using timeouts to check for deadlocks or to
cause the test to fail earlier. However, on slower machines these
short timeouts can cause spurious failures, and even on faster
machines if the test locks up we usually want a goroutine dump instead
of a short failure message anyway.

Fixes #52818 (maybe).

Change-Id: Ib8f18d679f9443721e8a924caef6dc8d214fca1b
Reviewed-on: https://go-review.googlesource.com/c/go/+/405434
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/exec/exec_test.go