From ab0fe416de1b9ba59945c2c05e77ccb60b7bdda9 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Wed, 23 Jun 2021 12:28:12 -0700 Subject: [PATCH] Rename slow_git to slow_git_clone Making room for slow_git_fetch upcoming. --- slow_git.sh => slow_git_clone.sh | 0 test_e2e.sh | 12 ++++++------ 2 files changed, 6 insertions(+), 6 deletions(-) rename slow_git.sh => slow_git_clone.sh (100%) diff --git a/slow_git.sh b/slow_git_clone.sh similarity index 100% rename from slow_git.sh rename to slow_git_clone.sh diff --git a/test_e2e.sh b/test_e2e.sh index 3c9d1dc..37e5b79 100755 --- a/test_e2e.sh +++ b/test_e2e.sh @@ -161,7 +161,7 @@ function finish() { } trap finish INT EXIT -SLOW_GIT=/slow_git.sh +SLOW_GIT_CLONE=/slow_git_clone.sh ASKPASS_GIT=/askpass_git.sh SYNC_HOOK_COMMAND=/test_sync_hook_command.sh @@ -174,7 +174,7 @@ function GIT_SYNC() { --network="host" \ -u $(id -u):$(id -g) \ -v "$DIR":"$DIR":rw \ - -v "$(pwd)/slow_git.sh":"$SLOW_GIT":ro \ + -v "$(pwd)/slow_git_clone.sh":"$SLOW_GIT_CLONE":ro \ -v "$(pwd)/askpass_git.sh":"$ASKPASS_GIT":ro \ -v "$(pwd)/test_sync_hook_command.sh":"$SYNC_HOOK_COMMAND":ro \ -v "$DOT_SSH/id_test":"/etc/git-secret/ssh":ro \ @@ -736,7 +736,7 @@ testcase "sync-loop-timeout" echo "$TESTCASE 1" > "$REPO"/file git -C "$REPO" commit -qam "$TESTCASE 1" GIT_SYNC \ - --git="$SLOW_GIT" \ + --git="$SLOW_GIT_CLONE" \ --one-time \ --sync-timeout=1s \ --repo="file://$REPO" \ @@ -746,9 +746,9 @@ GIT_SYNC \ > "$DIR"/log."$TESTCASE" 2>&1 || true # check for failure assert_file_absent "$ROOT"/link/file -# run with slow_git but without timing out +# run with slow_git_clone but without timing out GIT_SYNC \ - --git="$SLOW_GIT" \ + --git="$SLOW_GIT_CLONE" \ --period=100ms \ --sync-timeout=16s \ --repo="file://$REPO" \ @@ -1072,7 +1072,7 @@ BINDPORT=8888 echo "$TESTCASE 1" > "$REPO"/file git -C "$REPO" commit -qam "$TESTCASE 1" GIT_SYNC \ - --git="$SLOW_GIT" \ + --git="$SLOW_GIT_CLONE" \ --period=100ms \ --repo="file://$REPO" \ --branch=e2e-branch \