Skip to content

util/expvarx: deflake TestSafeFuncHappyPath with synctest - #17060

Merged
bradfitz merged 1 commit into
mainfrom
bradfitz/TestSafeFuncHappyPath
Sep 8, 2025
Merged

bradfitz merged 1 commit into
mainfrom
bradfitz/TestSafeFuncHappyPath

Conversation

@bradfitz

@bradfitz bradfitz commented Sep 8, 2025

Copy link
Copy Markdown
Member

I probably could've deflaked this without synctest, but might as well use
it now that Go 1.25 has it.

Fixes #15348

I probably could've deflaked this without synctest, but might as well use
it now that Go 1.25 has it.

Fixes #15348

Change-Id: I81c9253fcb7eada079f3e943ab5f1e29ba8e8e31
Signed-off-by: Brad Fitzpatrick <[email protected]>

@alexwlchan alexwlchan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had a look at the synctest docs and, ooh, shiny!

I also ran it locally and confirmed I'm no longer getting failures when I stress test it, yay.

🥳

@bradfitz
bradfitz merged commit 1cb855f into main Sep 8, 2025
@bradfitz
bradfitz deleted the bradfitz/TestSafeFuncHappyPath branch September 8, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestSafeFuncHappyPath test flake

2 participants