Skip to content
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

Clean up async assertions #19385

Merged
merged 9 commits into from
Jan 8, 2024
Merged

Clean up async assertions #19385

merged 9 commits into from
Jan 8, 2024

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Dec 13, 2023

Description of Change

Replace Wait() calls with method which Asserts the results of the Task so we have a clearer idea where the tests fail; remove extra post-Wait() assertions. Move non-extension methods to AssertHelpers. Remove random timings.

Issues Fixed

Fixes #19376

@hartez hartez marked this pull request as ready for review January 5, 2024 22:58
@hartez hartez requested a review from a team as a code owner January 5, 2024 22:58
@hartez hartez requested review from PureWeen and jsuarezruiz January 5, 2024 22:58
@rmarinho rmarinho merged commit 0b479c4 into main Jan 8, 2024
48 checks passed
@rmarinho rmarinho deleted the fix-19376 branch January 8, 2024 18:40
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Testing] Replace uses of Wait with an implementation that fails when the condition is never true
4 participants