From dda8c4b9a806c2cfb4f747646cf32a00f72c1eb5 Mon Sep 17 00:00:00 2001 From: Noel Kwan <47273164+kwannoel@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:44:13 +0800 Subject: [PATCH] fix(test): fix local backwards compat test to run against current branch (#12436) --- backwards-compat-tests/scripts/run_local.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backwards-compat-tests/scripts/run_local.sh b/backwards-compat-tests/scripts/run_local.sh index cfa164ec35a2..bf2f09c6841a 100755 --- a/backwards-compat-tests/scripts/run_local.sh +++ b/backwards-compat-tests/scripts/run_local.sh @@ -46,13 +46,14 @@ EOF setup_old_cluster() { echo "--- Setting up old cluster" + LATEST_BRANCH=$(git branch --show-current) git checkout "v${OLD_VERSION}-rc" } setup_new_cluster() { echo "--- Setting up new cluster" rm -r .risingwave/bin/risingwave - git checkout main + git checkout $LATEST_BRANCH } main() {