Skip to content

Quarantine test 'Aspire.Hosting.Tests.DistributedApplicationTests.StartResourceForcesStart' via Copilot #10088

Closed
@radical

Description

@radical

Task

Quarantine flaky test(s):

Tests to quarantine:

Background for Quarantined tests

  • Tests that are flaky and don't fail deterministically are marked with the QuarantinedTest attribute. The full type name for this is Aspire.TestUtilities.QuarantinedTest.
  • Such tests are not run as part of the regular tests workflow (tests.yml).
    • Instead they are run in the Outerloop workflow (tests-outerloop.yml).
  • The QuarantinedTest attribute takes an optional reason parameter, typically a GitHub issue URL
  • The pattern is consistent: [QuarantinedTest("https://github.com/dotnet/aspire/issues/XXXXX")]
  • The attribute is placed right before the test method, after [Fact] or other test attributes
  • Tests are quarantined by adding this attribute, which makes them run in the outerloop workflow instead of regular tests

Note that this issue is only to track the task of quarantining the flaky test. And the issue url mentioned here is the real issue to be used with the QuarantinedTest attribute. So, close only this issue.

Metadata

Metadata

Assignees

Labels

area-app-testingIssues pertaining to the APIs in Aspire.Hosting.Testingcopilot-taskIssue to assign a task to Copilot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions