You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
natlab tstest/natlab: use net.ErrClosed instead of a new error 4 years ago
staticcheck go.mod: restore staticcheck module, make it stick around, go mod tidy 4 years ago
clock.go tstest/natlab: add a stateful firewall. 4 years ago
doc.go tstest: rename from testy. 5 years ago
log.go ipn: close logger at the end of TestLocalLogLines 4 years ago
log_test.go tstest: rename LogListener to LogLineTracker 4 years ago
resource.go tstest: simplify goroutine leak tests 4 years ago