Skip to content

fix: brittle AwaitableCallbackExtensions test#1007

Merged
vbreuss merged 1 commit into
mainfrom
topic/brittle-AwaitableCallbackExtensions-test
May 14, 2026
Merged

fix: brittle AwaitableCallbackExtensions test#1007
vbreuss merged 1 commit into
mainfrom
topic/brittle-AwaitableCallbackExtensions-test

Conversation

@vbreuss
Copy link
Copy Markdown
Member

@vbreuss vbreuss commented May 14, 2026

Pull request overview

This PR makes the AwaitableCallbackExtensions cancellation test less timing-dependent by removing delayed background event generation and cancelling after a deterministic number of buffered events.

Changes:

  • Adds System.Collections.Generic for List<T>.
  • Pre-creates directory events synchronously before enumerating.
  • Cancels the token after collecting six async enumerable results and asserts the final count.

@vbreuss vbreuss self-assigned this May 14, 2026
Copilot AI review requested due to automatic review settings May 14, 2026 08:25
@vbreuss vbreuss added the coverage Additional tests for edge cases or improvement of test coverage label May 14, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the AwaitableCallbackExtensions cancellation test less timing-dependent by removing delayed background event generation and cancelling after a deterministic number of buffered events.

Changes:

  • Adds System.Collections.Generic for List<T>.
  • Pre-creates directory events synchronously before enumerating.
  • Cancels the token after collecting six async enumerable results and asserts the final count.

@vbreuss vbreuss enabled auto-merge (squash) May 14, 2026 08:30
@sonarqubecloud
Copy link
Copy Markdown

@vbreuss vbreuss merged commit 1426361 into main May 14, 2026
17 checks passed
@vbreuss vbreuss deleted the topic/brittle-AwaitableCallbackExtensions-test branch May 14, 2026 09:05
@github-actions
Copy link
Copy Markdown

This is addressed in release v6.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coverage Additional tests for edge cases or improvement of test coverage state: released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants