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

Improve progress handling for group processor #4121

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Jan 31, 2024

Change

To prevent the loss of progress events between the group processor and the caller, move to a model where these internal interfaces take in an EventHandler parameter rather than using ...WithProgress. This will make it possible to be confident that no progress events occurred between the async method starting and the progress handler being attached.

This fixes the flakiness of the tests that were verifying progress events.

Validation

Using the existing tests, including making them strict again on the number of progress events expected.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner January 31, 2024 03:53
@JohnMcPMS JohnMcPMS merged commit f6062a5 into microsoft:master Jan 31, 2024
8 checks passed
@JohnMcPMS JohnMcPMS deleted the fix-test branch January 31, 2024 23:01
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.

2 participants