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>
2021-01-08 17:10:48 -08:00
..
natlab wgengine/magicsock: explicitly check path discovery, add a firewall test. 2020-07-27 14:09:54 -07: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: skip resource check when test has failed 2020-10-01 11:27:22 -07:00