facebook / sapling

A Scalable, User-Friendly Source Control System.
https://sapling-scm.com
GNU General Public License v2.0
6.18k stars 285 forks source link

get mononoke green in github CI #974

Closed ahornby closed 3 weeks ago

ahornby commented 4 weeks ago

Summary:

changes done to make this easier:

Test Plan:

Local run of unittest

./build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. mononoke
./build/fbcode_builder/getdeps.py --allow-system-packages test--src-dir=. mononoke

Before fails:

failures:
    store::test::test_find_abandoned_requests
    store::test::test_get_stats
    store::test::test_mark_as_new

After, passes.

Local run of integration test

# first build sapling cli & install system deps
./build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. sapling
./build/fbcode_builder/getdeps.py install-system-deps --recursive mononoke_integration
# then test mononoke
./build/fbcode_builder/getdeps.py --allow-system-packages build --no-deps --src-dir=. mononoke_integration
./build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. mononoke_integration --num-jobs=4

Before, fails

AssertionError: The test groups contain not existing tests: ['cross_repo/test-cross-repo-mononoke-git-sot-switch.t'] in /home/runner/work/sapling/sapling/eden/mononoke/tests/integration

After, passes

facebook-github-bot commented 4 weeks ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 weeks ago

@ahornby has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 3 weeks ago

@ahornby has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 weeks ago

@ahornby has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 3 weeks ago

@ahornby has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 weeks ago

@ahornby has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 3 weeks ago

This pull request was exported from Phabricator. Differential Revision: D64827811

facebook-github-bot commented 3 weeks ago

@ahornby merged this pull request in facebook/sapling@630ab163ba8c6fadb5ddfeb1f82d3597e9371e67.