Skip to content

Conversation

lateralusX
Copy link
Member

This test tests that our wait functions won't break in case when user APC are queued. That requires wait to be alertable, but in NAOT case, waits are not, meaning that APC won't run and test won't work. Since the whole point of the test is to make sure waits are not broken due to user APC, this test is not applicable on NAOT, therefore it needs to be disabled.

@Copilot Copilot AI review requested due to automatic review settings July 31, 2025 08:50
Copy link
Contributor

@Copilot 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 Windows-specific threading test (Test_wait_interrupted_user_apc) when running on Native AOT (NAOT) because the test relies on alertable waits which are not supported in NAOT.

Key Changes

  • Modified the test condition to exclude Native AOT execution environments
  • The test validates that wait functions handle user APCs correctly, but since NAOT doesn't support alertable waits, the test becomes inapplicable

@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 Jul 31, 2025
@MichalStrehovsky
Copy link
Member

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

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

Thanks!

@jkotas jkotas added area-NativeAOT-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 31, 2025
Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@jkotas
Copy link
Member

jkotas commented Jul 31, 2025

/ba-g the disabled test is not failing anymore. The failures are #118234 and infrastructure timeout

@jkotas jkotas merged commit 50855d8 into dotnet:main Jul 31, 2025
93 of 100 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 2025
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.

3 participants