tailscale/wgengine/netstack
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>
2024-11-22 09:46:11 -06:00
..
gro
link_endpoint.go
netstack.go all: use iterators over slice views more 2024-11-11 13:22:34 -08:00
netstack_linux.go
netstack_tcpbuf_default.go
netstack_tcpbuf_ios.go
netstack_test.go ipn/{ipnlocal,localapi}, wgengine/netstack: call (*LocalBackend).Shutdown when tests that create them complete 2024-11-22 09:46:11 -06:00
netstack_userping.go
netstack_userping_apple.go
netstack_userping_test.go