Skip to content

[clr-interp] Adjust timeout on NativeRuntimeEventSourceTest#122428

Merged
davidwrighton merged 2 commits into
dotnet:mainfrom
davidwrighton:interpreter-NativeRuntimeEventSourceTest
Jan 6, 2026
Merged

[clr-interp] Adjust timeout on NativeRuntimeEventSourceTest#122428
davidwrighton merged 2 commits into
dotnet:mainfrom
davidwrighton:interpreter-NativeRuntimeEventSourceTest

Conversation

@davidwrighton

Copy link
Copy Markdown
Member

The existing timeout of 5 seconds was too short. Make it 45 seconds.

The existing timeout of 5 seconds was too short. Make it 45 seconds.
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @BrzVlad, @janvorli, @kg
See info in area-owners.md if you want to be subscribed.

Copilot AI 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.

Pull request overview

This PR increases the timeout for the NativeRuntimeEventSourceTest from 5 seconds to 45 seconds to address timeout issues on slower systems, particularly when running with the interpreter ([clr-interp]).

Key Changes

  • Updated the while loop condition timeout from TimeSpan.FromMinutes(1d / 12d) (5 seconds) to TimeSpan.FromMinutes(0.75) (45 seconds)
Comment thread src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs Outdated
…est.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@davidwrighton davidwrighton merged commit 2a217e1 into dotnet:main Jan 6, 2026
79 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.