Skip to content
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

Skip test that's too slow in ADO #2220

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Skip test that's too slow in ADO #2220

merged 1 commit into from
Feb 26, 2025

Conversation

andyleejordan
Copy link
Member

And remove test that's no longer run since <7.4 has been dropped.

And remove test that's no longer run since <7.4 has been dropped.
@Copilot Copilot bot review requested due to automatic review settings February 26, 2025 20:58

Choose a reason for hiding this comment

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

PR Overview

This PR skips a test that runs too slowly in ADO and removes an obsolete test that is no longer run after dropping support for PowerShell versions earlier than 7.4.

  • Removed the obsolete "CanRequestCompletionsAndHandleExceptions" test.
  • Changed the attribute on "CanSendGetCommandRequestAsync" from [Fact] to [SkippableFact] and added a Skip.If condition for TF_BUILD environments.

Reviewed Changes

File Description
test/PowerShellEditorServices.Test.E2E/LanguageServerProtocolMessageTests.cs Removed an outdated test and added a CI skip condition to a test to improve performance on ADO

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

test/PowerShellEditorServices.Test.E2E/LanguageServerProtocolMessageTests.cs:1237

  • [nitpick] The CI skip condition effectively removes this test from continuous integration. Please ensure that the test is executed in non-CI environments to maintain adequate test coverage and catch any regressions.
Skip.If(Environment.GetEnvironmentVariable("TF_BUILD") is not null,
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM!

@andyleejordan andyleejordan enabled auto-merge (squash) February 26, 2025 21:00
@andyleejordan andyleejordan merged commit 0af8424 into main Feb 26, 2025
8 checks passed
@andyleejordan andyleejordan deleted the onebranch branch February 26, 2025 21:08
@andyleejordan andyleejordan added the Ignore Exclude from the changelog. label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ignore Exclude from the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants