Skip to content
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

FunctionalTests: remove GitCommands tests #535

Merged
merged 3 commits into from
Jul 22, 2024
Merged

FunctionalTests: remove GitCommands tests #535

merged 3 commits into from
Jul 22, 2024

Conversation

derrickstolee
Copy link
Contributor

This pull request significantly reduces the cost of Scalar functional tests. It removes all of the tests that are about how Git commands interact in a sparse-checkout environment. Similar tests exist in the upstream Git project and are no longer required to keep microsoft/git clean of defects in this area. Removing these tests will save resources and reduce flakiness in microsoft/git pull requests.

The functional tests that remain are related to Scalar config, shared object caches, and the GVFS Protocol running against a real Azure DevOps server.

In a second commit, this also removes the functional tests from the CI builds, since they are currently broken. The break is due to the pinned Git version which has not been updated in a while. The correctness of the functional tests is done by running tests from microsoft/git.

@derrickstolee derrickstolee requested a review from dscho July 18, 2024 15:11
@derrickstolee derrickstolee marked this pull request as ready for review July 18, 2024 15:21
@derrickstolee
Copy link
Contributor Author

@vdye may find this PR interesting ;)

Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it!

@dscho dscho merged commit c098705 into main Jul 22, 2024
4 checks passed
@dscho dscho deleted the test-removal branch July 22, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants