Files
tailscale/util
Avery PennarunandClaude Opus 4.6 ebbf47ca1a fix flaky tests: make code more testable and fix race conditions
Changes to support flaky test fixes:

- kube/services: add SetWaitDurationForTest() to avoid hardcoded 20s wait
- net/netcheck: check context before captive portal detection
- net/captivedetection: stop timer before waiting on channel
- util/eventbus/eventbustest: use sync.Once to prevent double-close
- cmd/tailscale/cli: fix noDupFlagify to handle repeated test runs

Change-Id: I9c4af6996c7ff809df5fa8211c4de39a0a9183c9
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Avery Pennarun <[email protected]>
2026-04-13 17:28:15 +02:00
..