mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
d5a870b4dc
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> |
||
---|---|---|
.. | ||
monitor_darwin_test.go | ||
monitor_darwin.go | ||
monitor_freebsd.go | ||
monitor_linux_test.go | ||
monitor_linux.go | ||
monitor_polling.go | ||
monitor_test.go | ||
monitor_windows.go | ||
monitor.go | ||
polling.go |