Enhance git pull/push over HTTPs tests
Changes:
- Updates
git pull
over HTTPs test to usegit_pull_data
to allow customising the requests -
git pull
andgit push
now use array of commit SHAs to resolve server cache issues when running tests for extensive period of time - Improves
git pull
payload - now when user runsgit pull
, server not only sends the obj-ids but also packfile data (more data in https://git-scm.com/docs/pack-protocol) . This should increase response time quite significantly however it better represents the real git pull request. As the default GPT will use92d536a03120b7095b2a78553e76f1913c30e7a9...8606c89683c913641243fc667edeb90600fe1a0e
as a diff.
Tested variants with multiple commit SHAs in both git_pull_data
and git_push_data
. Additionally verified that data key checks are able to detect missing keys and help user to troubleshoot the error.
Closes #462 (closed)