removes unused test code

This commit is contained in:
Alvaro Videla 2014-03-15 22:12:54 +01:00
parent 247230c942
commit ea7a408e1f
2 changed files with 1 additions and 4 deletions

View File

@ -10,7 +10,7 @@
-import(rabbit_sharding_test_util,
[set_param/3, clear_param/2, set_pol/3, clear_pol/1,
policy/1, start_other_node/1, cluster_other_node/2,
start_other_node/1, cluster_other_node/2,
reset_other_node/1, stop_other_node/1, xr/1, qr/1]).
-import(rabbit_sharding_util, [a2b/1, exchange_bin/1]).

View File

@ -78,9 +78,6 @@ execute(Cmd) ->
_ -> exit({command_failed, Cmd, Res})
end.
policy(ShardingDef) ->
rabbit_misc:format("{\"sharding-definition\": \"~s\"}", [ShardingDef]).
plugin_dir() ->
{ok, [[File]]} = init:get_argument(config),
filename:dirname(filename:dirname(File)).