mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
Merge pull request #149 from basho/eas-fix-insufficient-nodes-listkeys
verify_listkeys failure
This commit is contained in:
commit
8dcb0d1237
@ -45,7 +45,8 @@ confirm() ->
|
||||
Ns = lists:usort([Node|Cluster]),
|
||||
check_it_all(Ns),
|
||||
lager:info("Wait until there are no pending changes"),
|
||||
?assertEqual(ok, rt:wait_until_no_pending_changes(Ns)),
|
||||
rt:wait_until_no_pending_changes(Ns),
|
||||
rt:wait_for_cluster_service(Ns, riak_kv),
|
||||
|
||||
lager:info("Check keys and buckets after transfer"),
|
||||
check_it_all(Ns),
|
||||
@ -64,11 +65,12 @@ confirm() ->
|
||||
|
||||
lager:info("Starting Node ~p", [Prev]),
|
||||
rt:start(Prev),
|
||||
UpNodes = Nodes -- [Node],
|
||||
lager:info("Waiting for riak_kv service to be ready in ~p", [Prev]),
|
||||
rt:wait_for_service(Prev, riak_kv),
|
||||
rt:wait_for_cluster_service(UpNodes, riak_kv),
|
||||
|
||||
lager:info("Check keys and buckets"),
|
||||
check_it_all(Nodes -- [Node]),
|
||||
check_it_all(UpNodes),
|
||||
Node
|
||||
end, Node1, [Node2, Node3, Node4]),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user