Skip to content

Conversation

@jakobbotsch
Copy link
Member

We should be able to enable this testing once we switch to a Roslyn that emits this as a runtime async call.

Copilot AI review requested due to automatic review settings August 14, 2025 15:20
@jakobbotsch jakobbotsch requested a review from VSadov August 14, 2025 15:20
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 14, 2025
@jakobbotsch
Copy link
Member Author

This assert failed in #118726

Copy link
Contributor

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 disables a flaky async test assertion that has a race condition. The test is temporarily commented out until the underlying Roslyn compiler can emit the ConfigureAwait call as a runtime async operation, which would eliminate the timing issue.

Key Changes:

  • Comments out two lines of test code that were causing race conditions
  • Adds explanatory comment describing why the test is disabled and when it can be re-enabled

Copy link
Member

@VSadov VSadov left a comment

Choose a reason for hiding this comment

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

LGTM.

@jakobbotsch jakobbotsch merged commit c5e7fac into dotnet:main Aug 14, 2025
72 checks passed
@jakobbotsch jakobbotsch deleted the async-test-race-conditions branch August 14, 2025 18:24
@am11
Copy link
Member

am11 commented Aug 21, 2025

@jakobbotsch, just a heads up, #118810 (PR is targeting rc1 branch) has picked up the roslyn change dotnet/roslyn@caeac86.

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

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners runtime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants