]> Cypherpunks repositories - gostls13.git/commit
runtime: initialize netpoll in TestNetpollBreak
authorClément Chigot <chigot.c@gmail.com>
Tue, 29 Oct 2019 14:35:42 +0000 (15:35 +0100)
committerIan Lance Taylor <iant@golang.org>
Tue, 29 Oct 2019 17:38:23 +0000 (17:38 +0000)
commit64533374941d238c542167d67711a66ebac4ef67
treeb2032d15aa6e02fa6c9fa520122266f5fe2a7417
parent1a058cd04b7b902e59ff5584c7fda8ddfe388981
runtime: initialize netpoll in TestNetpollBreak

Netpoll must be always be initialized when TestNetpollBreak is launched.
However, when it is run in standalone, it won't be the case, so it must
be forced.

Updates: #27707

Change-Id: I28147f3834f3d6aca982c6a298feadc09b55f66e
Reviewed-on: https://go-review.googlesource.com/c/go/+/204058
Run-TryBot: Clément Chigot <clement.chigot%atos.net@gtempaccount.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/export_test.go
src/runtime/proc_test.go