From afa41f2e62034f160c361ae69b79a0449ea9f2b3 Mon Sep 17 00:00:00 2001 From: Xiaoyan Rao <270668624@qq.com> Date: Mon, 3 Jun 2024 10:28:01 +0800 Subject: [PATCH] tests(ci): fix migration test failed to run when updating migration files for an unreleased version (#13134) (cherry picked from commit 09523a4fe9fc3e75bcd8773e69499c60cbddc829) --- scripts/upgrade-tests/test-upgrade-path.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade-tests/test-upgrade-path.sh b/scripts/upgrade-tests/test-upgrade-path.sh index 8144fd9513f0..878c4c2f9070 100755 --- a/scripts/upgrade-tests/test-upgrade-path.sh +++ b/scripts/upgrade-tests/test-upgrade-path.sh @@ -166,7 +166,7 @@ function run_tests() { echo ">> Setting up tests" docker exec -w /upgrade-test $OLD_CONTAINER $BUSTED_ENV /kong/bin/busted -t setup $TEST echo ">> Running migrations" - kong migrations up + kong migrations up --force echo ">> Testing old_after_up,all_phases" docker exec -w /upgrade-test $OLD_CONTAINER $BUSTED_ENV /kong/bin/busted -t old_after_up,all_phases $TEST echo ">> Testing new_after_up,all_phases"