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

PS Gallery tests are unreliable #4791

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Sep 4, 2024

Change

These tests that rely on the PowerShell Gallery are unreliable. Disable them.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner September 4, 2024 18:54
@@ -40,6 +40,7 @@ public void OneTimeTeardown()
/// Intentionally has no settings to force a failure, but only after acquiring the module.
/// </summary>
[Test]
[Ignore("PS Gallery tests are unreliable.")]
Copy link
Member

Choose a reason for hiding this comment

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

Instead of ignoring them, is it possible to mark them as not-breaking somehow? Like changing the Assert for a warning or something.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe do Assert.Inconclusive() if we get the specific failure we are seeing

@JohnMcPMS JohnMcPMS merged commit 33bae58 into microsoft:master Sep 4, 2024
9 checks passed
@JohnMcPMS JohnMcPMS deleted the ignore-gallery-tests branch September 4, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants