Skip to content

Commit

Permalink
Merge pull request #329 from basho/fix_counter_test
Browse files Browse the repository at this point in the history
Fix counter test, broken when API for wait_until changed
  • Loading branch information
russelldb committed Jul 3, 2013
2 parents a8bd84d + ddd4db3 commit 046cfd0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/verify_counter_converge.erl
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ confirm() ->
ok = rt:wait_for_cluster_service(Nodes, riak_kv),

%% verify all nodes agree
[?assertEqual(ok, rt:wait_until(HP, fun(N) ->
11 == get_counter(N, Key)
end)) || HP <- Hosts],
[?assertEqual(ok, rt:wait_until(Node, fun(N) ->
{ok, [HP]} = rpc:call(N, application, get_env, [riak_core, http]),
11 == get_counter(HP, Key)
end)) || Node <- Nodes],

pass.

Expand Down

0 comments on commit 046cfd0

Please sign in to comment.