tailscale/wgengine
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>
2023-04-17 11:14:40 -07:00
..
bench all: update copyright and license headers 2023-01-27 15:36:29 -08:00
capture net, wgengine/capture: encode NAT addresses in pcap stream 2023-04-06 13:26:00 -07:00
filter all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
magicsock wgengine/magicsock: keep advertising endpoints after we stop discovering them 2023-04-17 11:26:02 -04:00
monitor wgengine/monitor: add --monitor-duration flag to opt-in TestMonitorMode 2023-04-17 11:14:40 -07:00
netlog sockstats: add labels for netlog and sockstatlog packages 2023-03-29 14:53:07 -07:00
netstack wgengine/netstack: fix data-race on startup 2023-04-10 09:13:21 -07:00
router envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
wgcfg tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer 2023-04-13 11:28:33 -07:00
wgint all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wglog all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winnet all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mem_ios.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pendopen.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_ext_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
watchdog_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog.go wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00
wgengine.go wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00