mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
Don't assume legacy, and use passed in FromVsn.
This commit is contained in:
parent
a9906dcc91
commit
09e982fea8
@ -37,7 +37,7 @@ confirm() ->
|
||||
%% on the old or new version.
|
||||
verify_upgrade(FromVsn, HostRCOn) ->
|
||||
lager:info("Verify upgrade ~p ~p", [FromVsn, HostRCOn]),
|
||||
Nodes = rt:build_cluster([{legacy, ?RC_ENABLE_CFG}|lists:duplicate(2, legacy)]),
|
||||
Nodes = rt:build_cluster([{FromVsn, ?RC_ENABLE_CFG}|lists:duplicate(2, FromVsn)]),
|
||||
verify_alive(Nodes),
|
||||
UpgradeSeq = upgrade_seq(Nodes, HostRCOn),
|
||||
[upgrade_and_verify_alive(Nodes, ToUpgrade) || ToUpgrade <- UpgradeSeq].
|
||||
|
Loading…
Reference in New Issue
Block a user