This commit adds integration test coverage for the LFS batch API endpoint using
the 429 retry-after scenario for both the upload as well as download case. It does so for both single- as well as multi-file scenarios to validate the proper batch queueing of multiple failed OID requests. It furthermore moves the existing storage API endpoint
tests to for the same scenario to a more logical `t-batch-storage-retries-ratelimit.sh`
file to not cause confusion with the actual batch API endpoint tests.
Currently, our default branch in tests is "master". This is the Git
default, but the Git default will likely change in the future, so it
makes sense to update our testsuite to be explicit about the branch
name. We'll ensure this continues by building against older versions of
Git as well as newer versions.
We use "main" for the new branch name, since that's the proposed value
upstream.
This commit was made entirely by automated means using the following
command:
git grep -l master t | xargs sed -i -e 's/master/main/g'