]> Cypherpunks repositories - gostls13.git/commit
os/signal: test with a significantly longer fatal timeout
authorAndrew G. Morgan <agm@google.com>
Sat, 19 Jun 2021 16:46:52 +0000 (09:46 -0700)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Sun, 20 Jun 2021 11:17:27 +0000 (11:17 +0000)
commit460900a7b51f917888cb17608367979243178fe1
tree59ec4aa81d76c284e62a8e38abe127b0300abb2b
parentb73cc4b02b3801603b3ce0bcc57cf01d6aa9a4dd
os/signal: test with a significantly longer fatal timeout

We've observed some occasional os-arch specific timeouts
in signal.TestSignalTrace(). While the main purpose of a
short timeout is to ensure the passing tests complete
quickly, the unexpected failure path can tolerate waiting
longer (the test is not intended to test how slow or
overloaded the OS is at the time it is run).

Fixes #46736
Change-Id: Ib392fc6ce485a919612784ca88ed76c30f4898e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/329502
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
src/os/signal/signal_test.go