From feb28b7d99bef70787a14b4f6ca8647f04c30440 Mon Sep 17 00:00:00 2001 From: Lloyd-Pottiger Date: Wed, 31 Jul 2024 18:45:58 +0800 Subject: [PATCH] fix ft Signed-off-by: Lloyd-Pottiger --- tests/docker/util.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/docker/util.sh b/tests/docker/util.sh index ed33cdedd4c..42698580e25 100644 --- a/tests/docker/util.sh +++ b/tests/docker/util.sh @@ -94,9 +94,9 @@ function set_branch() { # XYZ_BRANCH: pd/tikv/tidb hash, default to `master` # BRANCH: hash short cut, default to `master` if [ -n "$BRANCH" ]; then - [ -z "$PD_BRANCH" ] && export PD_BRANCH="$BRANCH" - [ -z "$TIKV_BRANCH" ] && export TIKV_BRANCH="$BRANCH" - [ -z "$TIDB_BRANCH" ] && export TIDB_BRANCH="$BRANCH" + [ -z "$PD_BRANCH" ] && export PD_BRANCH="master" + [ -z "$TIKV_BRANCH" ] && export TIKV_BRANCH="master" + [ -z "$TIDB_BRANCH" ] && export TIDB_BRANCH="master" fi echo "use branch \`${BRANCH-master}\` for ci test" }