mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
Merge pull request #513 from basho/bugfix/sdc/allow-mult-default
Fix tests that used the wrong name for the riak.conf entry for allow_mult
This commit is contained in:
commit
24619c638b
@ -14,7 +14,7 @@
|
||||
|
||||
confirm() ->
|
||||
%% test requires allow_mult=false b/c of rt:systest_read
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
{ok, TestCommand} = prereqs(),
|
||||
Config = [{riak_kv, [{secondary_index_sort_default, true}]},
|
||||
{riak_search, [{enabled, true}]}],
|
||||
|
@ -17,7 +17,7 @@
|
||||
%% @doc riak_test entry point
|
||||
confirm() ->
|
||||
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
%% Start up two >1.3.2 clusters and connect them,
|
||||
{LeaderA, LeaderB, ANodes, BNodes} = make_clusters(),
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
confirm() ->
|
||||
|
||||
%% test requires allow_mult=false
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
|
||||
NumNodes = rt_config:get(num_nodes, 6),
|
||||
ClusterASize = rt_config:get(cluster_a_size, 3),
|
||||
|
@ -7,7 +7,7 @@
|
||||
confirm() ->
|
||||
|
||||
%% test requires allow_mult=false
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
|
||||
NumNodes = rt_config:get(num_nodes, 6),
|
||||
ClusterASize = rt_config:get(cluster_a_size, 3),
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
confirm() ->
|
||||
%% test requires allow_mult=false
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
|
||||
NumNodes = rt_config:get(num_nodes, 6),
|
||||
ClusterASize = rt_config:get(cluster_a_size, 3),
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
confirm() ->
|
||||
%% test requires allow_mult=false b/c of rt:systest_read
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
|
||||
case eunit:test(?MODULE, [verbose]) of
|
||||
ok ->
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
confirm() ->
|
||||
%% test requires allow_mult=false b/c of rt:systest_read
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
[Node] = rt:build_cluster(1),
|
||||
rt:wait_until_pingable(Node),
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
confirm() ->
|
||||
%% test requires allow_mult=false b/c of rt:systest_read
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
%% Deploy a set of new nodes
|
||||
lager:info("Deploying 4 nodes"),
|
||||
%% handoff_concurrency needs to be raised to make the leave operation faster.
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
confirm() ->
|
||||
%% test requires allow_mult=false b/c of rt:systest_read
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
rt:update_app_config(all, [{riak_core,
|
||||
[{ring_creation_size, ?START_SIZE}]}]),
|
||||
[ANode, AnotherNode, YetAnother, ReplacingNode] = AllNodes = rt:deploy_nodes(4),
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
confirm() ->
|
||||
ClusterSize = 4,
|
||||
rt:set_conf(all, [{"buckets.default.siblings", "off"}]),
|
||||
rt:set_conf(all, [{"buckets.default.allow_mult", "false"}]),
|
||||
NewConfig = [],
|
||||
Nodes = rt:build_cluster(ClusterSize, NewConfig),
|
||||
?assertEqual(ok, rt:wait_until_nodes_ready(Nodes)),
|
||||
|
Loading…
Reference in New Issue
Block a user