Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #237 from basho/dip_pb
use rt:pbc to read the new pb app.config format
  • Loading branch information
Dave Parfitt committed Mar 20, 2013
2 parents 0fdabcb + 823c65a commit 8989890
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/replication2.erl
Expand Up @@ -438,11 +438,7 @@ replication([AFirst|_] = ANodes, [BFirst|_] = BNodes, Connected) ->
fin.

pb_write_during_shutdown(Target, BSecond, TestBucket) ->
{ok, Port} = rpc:call(Target, application, get_env, [riak_api, pb_port]),

lager:info("Connecting to pb socket ~p:~p on ~p", ["127.0.0.1", Port,
Target]),
{ok, PBSock} = riakc_pb_socket:start("127.0.0.1", Port),
PBSock = rt:pbc(Target),

%% do the stop in the background while we're writing keys
spawn(fun() ->
Expand Down

0 comments on commit 8989890

Please sign in to comment.