You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
..
bench
ipn/ipnlocal, all: plumb health trackers in tests
2 years ago
capture
wgengine/capture: fix v6 field typo in wireshark dissector
2 years ago
filter
wgengine/filter: actually use the passed CapTestFunc [capver 109]
1 year ago
magicsock
all: use iterators over slice views more
1 year ago
netlog
wgengine: add exit destination logging enable for wgengine logger ( #11952 )
2 years ago
netstack
ipn/{ipnlocal,localapi}, wgengine/netstack: call (*LocalBackend).Shutdown when tests that create them complete
1 year ago
router
cmd/containerboot,util/linuxfw: create a SNAT rule for dst/src only once, clean up if needed ( #13658 )
2 years ago
wgcfg
all: use iterators over slice views more
1 year ago
wgint
wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine
2 years ago
wglog
all: use Go 1.22 range-over-int
2 years ago
winnet
all: add test for package comments, fix, add comments as needed
2 years ago
mem_ios.go
all: update copyright and license headers
3 years ago
pendopen.go
all: use iterators over slice views more
1 year ago
userspace.go
all: use iterators over slice views more
1 year ago
userspace_ext_test.go
util/usermetrics: make usermetrics non-global
2 years ago
userspace_test.go
util/usermetrics: make usermetrics non-global
2 years ago
watchdog.go
ipn/ipnlocal,net/tstun,wgengine: create and plumb jailed packet filter
2 years ago
watchdog_js.go
all: update copyright and license headers
3 years ago
watchdog_test.go
util/usermetrics: make usermetrics non-global
2 years ago
wgengine.go
all: add test for package comments, fix, add comments as needed
2 years ago