Skip to content

Add missing RemoteExecutor.IsSupported #116809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jun 19, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 19, 2025 06:42
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 ensures that the remote executor–based tests only run when RemoteExecutor.IsSupported is true by converting a standard [Theory] into a [ConditionalTheory].

  • Changed [Theory] to [ConditionalTheory] with the RemoteExecutor.IsSupported condition.
  • Prevents test failures on platforms where remote execution isn't available.

@jkotas
Copy link
Member Author

jkotas commented Jun 19, 2025

This is fixing test failures in NativeAOT outer loop runs where RemoteExecutor is not supported.

@jkotas jkotas requested a review from MichalStrehovsky June 19, 2025 06:42
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@rzikm rzikm left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@rzikm
Copy link
Member

rzikm commented Jun 19, 2025

/ba-g test failure is unrelated

@rzikm rzikm merged commit ac1e1b9 into dotnet:main Jun 19, 2025
80 of 87 checks passed
@jkotas jkotas deleted the RemoteExecutor branch June 19, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants