mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-05 08:02:20 -08:00
The local g.Set(1) loop and the Remote's gauge updates store to the same value, so the test failed with g = 1 whenever the local writer finished last. Apply one more remote update after the writers finish. It failed 2999 of 9000 runs (-race -cpu=1,2,4) before, and passes 207,883 runs under flakestress now. Flake analysis: http://flakes/analyze-test?name=tailscale.com%2Futil%2Fclientmetric.TestRemoteConcurrent Updates #deflake Change-Id: Iaa5c71cec6db4a8d6ab6d27b6b0e6fa9102b7c7c Signed-off-by: Brad Fitzpatrick <[email protected]>