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:
Jared Morrow 2014-01-24 09:54:17 -08:00
commit 24619c638b
10 changed files with 36 additions and 36 deletions

View File

@ -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}]}],

View File

@ -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(),

View File

@ -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),

View File

@ -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),

View File

@ -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),

View File

@ -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 ->

View File

@ -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),

View File

@ -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.

View File

@ -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),

View File

@ -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)),