-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add build support for FlakyAttribute #15003
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
Comments
Do we have flaky tests? |
That's part of the reason I'm not just going ahead and adding the support :). Having said that, if I add the support and you never use the attribute, the impact is minimal but you can apply the attribute as soon as you find a flaky test you want to sequester in this way. If we don't do the work now, that's fine, but we have to do that work whenever you do decide you want to separate out a flaky test. cc @ajcvickers |
@smitpatel We do have a lot of test failures, but of the ones that aren't infra related, the rest seem to be flakey SQL Server. Current best plan to help with that is to run SQL Server on a different box. Other types of bad tests we're petty good at fixing straight away. Let's discuss in triage. |
Just give me a ping if you want the Flaky test infrastructure in your repo :). |
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)
eng/scripts/ci-flaky-tests.cmd
/.sh
ci-flaky-tests
is runci-flaky-tests
after the main build in Azure Pipelines (AzP)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 :).
The text was updated successfully, but these errors were encountered: