tailscale/tstest
Josh Bleecher Snyder 138055dd70 tstest/natlab: use net.ErrClosed instead of a new error
Upstream wireguard-go decided to use errors.Is(err, net.ErrClosed)
instead of checking the error string.

It also provided an unsafe linknamed version of net.ErrClosed
for clients running Go 1.15. Switch to that.

This reduces the time required for the wgengine/magicsock tests
on my machine from ~35s back to the ~13s it was before
456cf8a376.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-02-05 13:44:46 -08:00
..
natlab tstest/natlab: use net.ErrClosed instead of a new error 2021-02-05 13:44:46 -08:00
staticcheck go.mod: restore staticcheck module, make it stick around, go mod tidy 2020-07-02 22:55:14 -07:00
clock.go tstest/natlab: add a stateful firewall. 2020-07-11 05:17:38 +00:00
doc.go tstest: rename from testy. 2020-04-28 20:45:12 -07:00
log.go ipn: close logger at the end of TestLocalLogLines 2021-01-08 17:10:48 -08:00
log_test.go tstest: rename LogListener to LogLineTracker 2020-09-04 08:09:56 -07:00
resource.go tstest: simplify goroutine leak tests 2021-02-03 13:06:40 -08:00