Closed as not planned
Description
I'm filing this to track adding support for FlakyAttribute
to the aspnet/EntityFramework build scripts.
The attribute allows you to sequester a test by marking it as "Flaky". That test will no longer be run during the normal run but will be run during a separate second test pass. The results of the second test pass will not affect the build outcome, but the test results will be published and recorded.
What's involved (see dotnet/extensions#1239)
- Add a script to run flaky tests
eng/scripts/ci-flaky-tests.cmd
/.sh
- Add some MSBuild goop to skip flaky tests on normal runs but run it when
ci-flaky-tests
is run - Add logic to run
ci-flaky-tests
after the main build in Azure Pipelines (AzP) - Add logic to publish test results from flaky tests to AzP so they still show up in the Tests pane in the AzP build summary.
Happy to do the work, but wanted an issue tracking it here and wanted to bring it to the attention of the team to confirm you want it :).