-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Quarantine OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant #63074
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
Conversation
…OpenApiDocumentIsInvariant Co-authored-by: captainsafia <[email protected]>
…variant Co-authored-by: captainsafia <[email protected]>
There was a problem hiding this 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 quarantines a failing test VerifyOpenApiDocumentIsInvariant
to prevent it from blocking builds while a proper fix is being developed. The test has been experiencing failures due to mismatched OpenAPI document JSON output compared to expected snapshots.
- Adds
[QuarantinedTest]
attribute to the failing test with a reference to tracking issue #63073 - Maintains test visibility and execution while preventing build failures
- Follows established repository patterns for handling temporarily failing tests
#63077 should fix this without the need to quarantine. |
Policy is we quarantine then check to ensure the test is reliably fixed 30 days later. |
It was just an issue caused by a PR changing the same file not being up to the subsequently merged PR, it was broken not flakey. The referenced PR fixes the test. |
The test
OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant
has been failing due to a mismatch between the received and verified OpenAPI document JSON output. This test uses the Verify framework to ensure the localized OpenAPI document output remains consistent, but recent changes have caused the output to differ from the expected snapshot.To prevent this failing test from blocking builds while a proper fix is being developed, this PR quarantines the test by adding the
[QuarantinedTest]
attribute with a reference to the tracking issue.The quarantined test will:
Quarantined=true
trait for filteringThis approach follows the established pattern in the repository for handling flaky or temporarily failing tests while preserving test visibility and allowing proper investigation and resolution.
Fixes #63073.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.