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/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>
1 year ago
..
gro wgengine/netstack/gro: exclude importation of gVisor GRO pkg on iOS (#13202) 1 year ago
link_endpoint.go net/tstun,wgengine{/netstack/gro}: refactor and re-enable gVisor GRO for Linux (#13172) 1 year ago
netstack.go all: use iterators over slice views more 1 year ago
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 1 year ago
netstack_userping.go wgengine/netstack: check userspace ping success on Windows 1 year ago
netstack_userping_apple.go
netstack_userping_test.go wgengine/netstack: check userspace ping success on Windows 1 year ago