- Notifications
You must be signed in to change notification settings - Fork928
fix: prevent notifier test flakiness#14467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Signed-off-by: Danny Kopping <danny@coder.com>
78c4a32
to2ab8236
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍 I'm fine with this approach if it stops the flakes for now, but Quartz is a better solution overall.
Indeed. We still havecoder/internal#6 which could be picked up; it'll take some doing to plumb it all through. |
f24cb5c
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Fixescoder/internal#281
There was a TOCTOU race between checking whether the notifier should pause and processing the messages:
I'm of the opinion that we don't need to fix this in the code itself (it's not super critical that pausing the notifier is effectedimmediately); it was just a problem for the tests.
Previously in the tests:
process
method) <--TOCTOUNow:
process
method exits