summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2024-06-25 23:53:14 -0400
committerBrad Fitzpatrick <brad@danga.com>2024-06-25 21:43:22 -0700
commit30f8d8199a47b066269d961d7a4e722ce2c48194 (patch)
tree2f34cffc7e635dc8ce5067ec265b40bd19bd5f5b /control/controlknobs
parentda078b4c09993c3df4f7838e534fa92a2acba2e2 (diff)
downloadtailscale-30f8d8199a47b066269d961d7a4e722ce2c48194.tar.xz
tailscale-30f8d8199a47b066269d961d7a4e722ce2c48194.zip
ipn/ipnlocal: fix data race in tests
We can observe a data race in tests when logging after a test is finished. `b.onHealthChange` is called in a goroutine after being registered with `health.Tracker.RegisterWatcher`, which calls callbacks in `setUnhealthyLocked` in a new goroutine. See: https://github.com/tailscale/tailscale/actions/runs/9672919302/job/26686038740 Updates #12054 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: Ibf22cc994965d88a9e7236544878d5373f91229e
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions