summaryrefslogtreecommitdiff
path: root/ci/test-git-branch.sh
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-11-28 15:19:39 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-11-28 15:19:39 -0500
commitcdcddab657fa228cfbfdd6bfcbea4aa8fd390cc4 (patch)
tree81af452a99e5977b6ab7ae2fefca829ff0873bbe /ci/test-git-branch.sh
parent6176f15936207e6463906bf348bb933e0cf5195e (diff)
test-git-branch.sh: wait-for-mem before fetchci-dev
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'ci/test-git-branch.sh')
-rwxr-xr-xci/test-git-branch.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/test-git-branch.sh b/ci/test-git-branch.sh
index 142f057..dbd86a4 100755
--- a/ci/test-git-branch.sh
+++ b/ci/test-git-branch.sh
@@ -76,6 +76,8 @@ git_fetch() {
set +o errexit
while true; do
+ wait_for_server_mem
+
git fetch ssh://$JOBSERVER/$JOBSERVER_HOME/$repo $@
ret=$?
(($ret == 0)) && break
@@ -124,7 +126,7 @@ run_test_job() {
echo "Running test $TEST_NAME for branch $BRANCH and commit $COMMIT"
- run_quiet "Syncing git repos" sync_git_repos
+ sync_git_repos
run_quiet "Fetching $COMMIT" git_fetch linux $COMMIT
run_quiet "Checking out $COMMIT" git checkout -f FETCH_HEAD