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/monitor
Brad Fitzpatrick d5a870b4dc wgengine/monitor: add --monitor-duration flag to opt-in TestMonitorMode
TestMonitorMode skips by default, without the --monitor flag, and then
it previously ran forever. This adds an option --monitor-duration flag
that defaults to zero (run forever) but if non-zero bounds how long
the tests runs. This means you can then also use e.g. `go test
--cpuprofile` and capture a CPU/mem profile for a minute or two.

Updates #7621

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
monitor.go net/sockstats: remove explicit dependency on wgengine/monitor 1 year ago
monitor_darwin.go all: update copyright and license headers 1 year ago
monitor_darwin_test.go all: update copyright and license headers 1 year ago
monitor_freebsd.go all: update copyright and license headers 1 year ago
monitor_linux.go all: update copyright and license headers 1 year ago
monitor_linux_test.go all: update copyright and license headers 1 year ago
monitor_polling.go all: update copyright and license headers 1 year ago
monitor_test.go wgengine/monitor: add --monitor-duration flag to opt-in TestMonitorMode 1 year ago
monitor_windows.go all: update copyright and license headers 1 year ago
polling.go all: update copyright and license headers 1 year ago