Closed
Description
Task
Quarantine flaky test(s):
Tests to quarantine:
- Test: Aspire.Hosting.Tests.DistributedApplicationTests.StartResourceForcesStart
Issue:Failing test: Aspire.Hosting.Tests.DistributedApplicationTests.StartResourceForcesStart #10086
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 isAspire.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
).
- Instead they are run in the
- 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.