-
Notifications
You must be signed in to change notification settings - Fork 453
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
Add category for extra tests to run in PRs #1046
Conversation
/azp run PR - Windows - Extra |
For the Azure DevOps organization |
f00c4be
to
b942840
Compare
/azp run PR - Windows - Extra |
For the Azure DevOps organization |
/azp run PR - Windows - Extra |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Windows - Full Functional Tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PR - Windows - Extra |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Windows - Full Functional Tests |
Azure Pipelines successfully started running 1 pipeline(s). |
@kewillford latest changes look good to me |
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.
This makes sense. My only question is around naming - are these tests in the "full test suite only" / "extra-coverage" because they are long running? If so, maybe name this level of tests "long-running". Or are these in this category because they are lower priority? or...
@jamill I don't remember any official discussion on the tests that were added to this group so I would have to go through them and see. For now I like them as simply extra coverage tests and we can sort out why and if they need a different name some other time. |
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.
Thanks for this! It'll be nice to not accidentially break the full suite.
@jamill @kewillford here is the description/motivation from the PR in Azure Repos (302803):
|
A limited subset of functional tests are marked as belonging to the ExtraCoverage category, which was introduced in the microsoft/VFSForGit#1046 PR as an enhancement over the FullSuiteOnly category from the Azure Repos PR 302803. The intent was to make the default functional test run faster by excluding some less-fragile tests. However, in Scalar, many of these tests are also marked with NeedsUpdatesForNonVirtualizedMode and therefore do not run at all, while the ones which remain have been running in CI on the macOS platform but not Windows, because Scripts/Mac/RunFunctionalTests.sh passes the --full-suite option. In order to simplify the CI and functional test framework, we eliminate the ExtraCoverage category entirely, which ensures all working tests run on all platforms in CI.
This adds another category to the tests to allow the extra tests that are currently only ran during to the full suite to be ran so that we can add a PR build for just them without having to run the full suite since the other tests are already ran during a PR build.