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 wgengine/netstack/gro: exclude importation of gVisor GRO pkg on iOS (#13202) 2024-08-20 16:40:10 -07:00
link_endpoint.go net/tstun,wgengine{/netstack/gro}: refactor and re-enable gVisor GRO for Linux (#13172) 2024-08-20 15:22:19 -07:00
netstack_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstack_tcpbuf_default.go wgengine/netstack: increase gVisor's TCP send and receive buffer sizes (#12994) 2024-08-02 15:50:47 -07:00
netstack_tcpbuf_ios.go wgengine/netstack: increase gVisor's TCP send and receive buffer sizes (#12994) 2024-08-02 15:50:47 -07:00
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_apple.go various: fix lint warnings 2024-06-06 17:06:54 -04:00
netstack_userping_test.go wgengine/netstack: check userspace ping success on Windows 2024-10-03 09:07:39 -07:00
netstack_userping.go wgengine/netstack: check userspace ping success on Windows 2024-10-03 09:07:39 -07:00
netstack.go all: use iterators over slice views more 2024-11-11 13:22:34 -08:00