Skip to content

Commit

Permalink
fix(test): fix local backwards compat test to run against current bra…
Browse files Browse the repository at this point in the history
…nch (#12436)
  • Loading branch information
kwannoel authored Sep 19, 2023
1 parent f6dff66 commit dda8c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backwards-compat-tests/scripts/run_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit dda8c4b

Please sign in to comment.