tailscale/ipn
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
..
ipnserver all: annotate log verbosity levels on most egregiously spammy log prints 2020-12-21 12:59:33 -08:00
ipnstate tailcfg, cmd/tailscale: add Hostinfo.ShareeNode, hide in "tailscale status" 2020-12-01 15:29:18 -08:00
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 2020-04-01 10:03:44 -07:00
backend.go ipn, ipn/ipnserver: add IPN state for server in use, handle explicitly 2020-11-02 15:25:11 -08:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go cmd/tailscale/cli: add basic 'down' subcommand 2020-08-25 18:54:29 -07:00
handle.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 2020-12-28 13:00:42 -08:00
local.go ipn: fix buggy-looking format string in error log 2021-01-06 20:18:29 -08:00
local_test.go Add names to test cases in ipn/local_test.go. 2021-01-08 10:23:32 -08:00
loglines_test.go ipn: close logger at the end of TestLocalLogLines 2021-01-08 17:10:48 -08:00
message.go ipn: debug zero bytes in IPN json messages 2020-11-06 13:19:16 -08:00
message_test.go ipn: add Login backend command for sign-in with token 2020-07-14 13:09:36 +02:00
prefs.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 2020-12-28 13:00:42 -08:00
prefs_clone.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 2020-12-28 13:00:42 -08:00
prefs_test.go wgkey: new package 2020-12-30 17:33:02 -08:00
store.go wgkey: new package 2020-12-30 17:33:02 -08:00
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00