-
Notifications
You must be signed in to change notification settings - Fork 803
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve AsyncMemoize tests #16533
Improve AsyncMemoize tests #16533
Conversation
❗ Release notes requiredCaution No release notes found for the changed paths (see table below). Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format. The following format is recommended for this repository:
If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request. You can open this PR in browser to add release notes: open in github.dev
|
Well now there's a bunch of random looking cancellation test failures. @auduchinok did you see something like this? |
I'm rather late to the party but I don't understand how can a |
I think it's only expected to work within |
It's made for node builder, where we re-wrap thread static info (as we do with logger, etc). |
Actually no, the failures don't only happen in the new code, since the experimental flag is not set in CI most of the tests are running with original BackgroundCompiler. I still don't understand why it happens, I didn't find any computations that aren't guarded by But still we should probably do the revert |
The fixes got included with #16536 |
Don't rely on arbitrary time delays to make the async tests work. This should hopefully avoid any flakiness.