fix: upgrades: do not hardcode versions
- upgrading v7.0 to v7.0 is a noop - pprof testing lags behind
This commit is contained in:
parent
d68ee49e3b
commit
f537340c93
2 changed files with 10 additions and 10 deletions
|
|
@ -30,7 +30,9 @@ function test_successful_upgrades() {
|
|||
log_info "using $config"
|
||||
upgrade_reset $config
|
||||
|
||||
version=7.0
|
||||
set $RELEASE_NUMBERS
|
||||
version="$1"
|
||||
shift
|
||||
log_info "run $version"
|
||||
cleanup_storage
|
||||
start $version
|
||||
|
|
@ -38,7 +40,7 @@ function test_successful_upgrades() {
|
|||
fixture_assert
|
||||
doctor_run $config
|
||||
|
||||
for version in $RELEASE_NUMBERS; do
|
||||
for version in $@; do
|
||||
stop
|
||||
log_info "run $version"
|
||||
start $version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue