mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
Moved loaded_upgrade to use TestMetaData for version
This commit is contained in:
parent
30d795f4a5
commit
fb1b679749
@ -32,17 +32,16 @@
|
||||
confirm() ->
|
||||
rt:config_or_os_env(basho_bench),
|
||||
rt:config_or_os_env(spam_dir),
|
||||
%% OldVsns = [legacy, previous],
|
||||
OldVsns = [previous],
|
||||
[verify_upgrade(OldVsn) || OldVsn <- OldVsns],
|
||||
verify_upgrade(),
|
||||
lager:info("Test ~p passed", [?MODULE]),
|
||||
pass.
|
||||
|
||||
verify_upgrade(OldVsn) ->
|
||||
verify_upgrade() ->
|
||||
|
||||
%% Only run 2i for level
|
||||
TestMetaData = riak_test_runner:metadata(),
|
||||
%% Only run 2i for level
|
||||
Backend = proplists:get_value(backend, TestMetaData),
|
||||
OldVsn = proplists:get_value(upgrade_version, TestMetaData, previous),
|
||||
|
||||
Config = [{riak_search, [{enabled, true}]}],
|
||||
%% Uncomment to use settings more prone to cause races
|
||||
|
Loading…
Reference in New Issue
Block a user