Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove regex tests blocking on async calls - #100982

#100982
Merged
buyaa-n merged 1 commit into
dotnet:maindotnet/runtime:mainfrom
stephentoub:fixblockingregextestsstephentoub/runtime:fixblockingregextestsCopy head branch name to clipboard
Apr 17, 2024
Merged

Remove regex tests blocking on async calls#100982
buyaa-n merged 1 commit into
dotnet:maindotnet/runtime:mainfrom
stephentoub:fixblockingregextestsstephentoub/runtime:fixblockingregextestsCopy head branch name to clipboard

Conversation

@stephentoub

Copy link
Copy Markdown
Member

Hopefully fixes #100715.

It looks like these were written this way due to the limitation that spans can't be locals in an async method, even if the span doesn't live past an await. Address this for now by separating the code out into a local function.

It looks like these were written this way due to the limitation that spans can't be locals in an async method, even if the span doesn't live past an await. Address this for now by separating the code out into a local function.
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

@buyaa-n buyaa-n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, merging to unblock CI failures and the PR has no CI failure

@buyaa-n
buyaa-n merged commit 5c9f64c into dotnet:main Apr 17, 2024
@stephentoub
stephentoub deleted the fixblockingregextests branch April 17, 2024 18:22
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
It looks like these were written this way due to the limitation that spans can't be locals in an async method, even if the span doesn't live past an await. Address this for now by separating the code out into a local function.
@github-actions github-actions Bot locked and limited conversation to collaborators May 18, 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.

System.Text.RegularExpressions.Tests on Mono_Minijit_Debug-Ubuntu

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.