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" }