mirror of https://github.com/tailscale/tailscale/
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>pull/1105/head
parent
1e4604f60e
commit
18471a8792
Loading…
Reference in New Issue