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/ipn/localapi
Nick Khyl 462e1fc503 ipn/{ipnlocal,localapi}, wgengine/netstack: call (*LocalBackend).Shutdown when tests that create them complete
We have several places where LocalBackend instances are created for testing, but they are rarely shut down
when the tests that created them exit.

In this PR, we update newTestLocalBackend and similar functions to use testing.TB.Cleanup(lb.Shutdown)
to ensure LocalBackend instances are properly shut down during test cleanup.

Updates #12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 1 year ago
debugderp.go ipn/{ipnlocal,localapi},wgengine{,/magicsock}: plumb health.Tracker 2 years ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go client/tailscale,ipn/{ipnlocal,localapi}: add a pre-shutdown localAPI endpoint that terminates control connections. (#14028) 1 year ago
localapi_test.go ipn/{ipnlocal,localapi}, wgengine/netstack: call (*LocalBackend).Shutdown when tests that create them complete 1 year ago
pprof.go all: update copyright and license headers 3 years ago