Merge pull request #563 from basho/bugfix/csm/ownership

Improve reliability of test.
This commit is contained in:
Christopher Meiklejohn 2014-04-03 13:29:37 -04:00
commit afa4eed746

View File

@ -405,6 +405,9 @@ test_pg_proxy(SSL) ->
{ok, PGResult} = riak_repl_pb_api:get(PidB,Bucket,KeyA,CidA),
?assertEqual(ValueA, riakc_obj:get_value(PGResult)),
rt:wait_until_transfers_complete(ANodes),
rt:wait_until_transfers_complete(BNodes),
lager:info("Stopping leader on requester cluster"),
PGLeaderB = rpc:call(FirstB, riak_core_cluster_mgr, get_leader, []),
rt:log_to_nodes(AllNodes, "Killing leader on requester cluster"),