Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: **Marry RE CI with the Source Control CI** We would like to enable Source Control integration tests as RE diff signal. This is to ensure robust integration of Source Control with CAS and better test coverage. **How to debug a Source Control Tests if one fails?** The source control tests compare the output of the commands vs expected (hardcoded) output. They are easy to run. There is a buck way and a simplified way using our custom script. See also the help of the run-test script to select a build mode (the default is `fbcode//mode/dev-nosan-lg`) ``` cd ~/fbsource/fbcode/eden/mononoke/tests/integration ./run-test.sh facebook/mononoke_re_cas/test-sapling-cas-commit.t # if you are sure the output change is legit, use the 'interactive' flag for auto correction of the expected output ./run-test.sh facebook/mononoke_re_cas/test-sapling-cas-commit.t --interactive # the flag 'keep-tmpdir' is useful for debugging as it stores your test output in a separate file and also cas client side logs ./run-test.sh facebook/mononoke_re_cas/test-sapling-cas-commit.t --keep-tmpdir ``` temporary disable the flaky test - Source Control will fix it soon Reviewed By: andreacampi Differential Revision: D64626815 fbshipit-source-id: ed57b642faa02d8ae086185e68cb2ab60d01f4a3
- Loading branch information