Files
tailscale/util
Brad Fitzpatrick 6db878a571 util/clientmetric: deflake TestRemoteConcurrent
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]>
2026-12-04 13:52:08 -08:00
..
2026-11-23 12:48:28 -08:00