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 18471a8792 ipn: close logger at the end of TestLocalLogLines
If any goroutine continues to use the logger in TestLocalLogLines
after the test finishes, the test panics.

The culprit for this was wireguard-go; the previous commit fixed that.
This commit adds suspenders: When the test is done, make logging calls
into no-ops.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
natlab wgengine/magicsock: explicitly check path discovery, add a firewall test. 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. 4 years ago
log.go ipn: close logger at the end of TestLocalLogLines 3 years ago
log_test.go tstest: rename LogListener to LogLineTracker 4 years ago
resource.go tstest: skip resource check when test has failed 4 years ago