Skip to content

Commit

Permalink
Enable back upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcherbakov committed Jul 25, 2023
1 parent 914f51e commit bdc21fa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions integration_tests/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,21 +186,21 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then
fi

# Upgrade procedure tests
#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then
# UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh"
#
# init_pool "" "localnet_init_latest_stable_release"
#
# log "*****************************************************************************************"
# log "Running $UPGRADE_SHELL_TEST"
# log "*****************************************************************************************"
#
# if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
# log "$UPGRADE_SHELL_TEST finished successfully"
# else
# log "$UPGRADE_SHELL_TEST failed"
# exit 1
# fi
#
# cleanup_pool
#fi
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then
UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh"

init_pool "" "localnet_init_latest_stable_release"

log "*****************************************************************************************"
log "Running $UPGRADE_SHELL_TEST"
log "*****************************************************************************************"

if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
log "$UPGRADE_SHELL_TEST finished successfully"
else
log "$UPGRADE_SHELL_TEST failed"
exit 1
fi

cleanup_pool
fi
4 changes: 2 additions & 2 deletions integration_tests/upgrade/test-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ trustee_account_3="bob"
vendor_account="vendor_account"

plan_name="v1.2.0"
binary_version="v1.2.0-dev2"
upgrade_checksum="sha256:72632245e2350bf69c79039e339854e639c1bea41317a8381bd7322ccd7b2240"
binary_version="v1.2.0-dev3"
upgrade_checksum="sha256:7194fd6dbeab39130e3050e6260d8871e9dab4b1ae6b049caaa5d134bd0da0f7"

vid=1
pid_1=1
Expand Down

0 comments on commit bdc21fa

Please sign in to comment.