]> Cypherpunks.ru repositories - gostls13.git/commit
os/signal: fix flaky tests for NotifyContext.
authorHenrique Vicente <henriquevicente@gmail.com>
Mon, 16 Nov 2020 02:09:31 +0000 (03:09 +0100)
committerIan Lance Taylor <iant@golang.org>
Fri, 18 Dec 2020 04:42:39 +0000 (04:42 +0000)
commitae652a4ac9354fef81610ca616b872262ea51281
treea1ef38a7ff37e6a5765dd45944990dab5e0e4616
parent740851bacafd8e47b9a6ce0cd8fa8e05506a7382
os/signal: fix flaky tests for NotifyContext.

Test failures started to happen sporadically on some builds after the introduction of NotifyContext.
To make these tests more robust and avoid the risk of crosstalk we run them in a separate process.

Fixes #41561.

Change-Id: Ia7af105c316afd11765358f1e5e253ccfe2adc2b
Reviewed-on: https://go-review.googlesource.com/c/go/+/270198
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Cherry Zhang <cherryyz@google.com>
src/os/signal/signal_test.go