test: fix compile warning
This commit is contained in:
parent
50bb5a4f5a
commit
25228ed248
|
@ -6,6 +6,7 @@
|
||||||
-define(PORT, 1884).
|
-define(PORT, 1884).
|
||||||
|
|
||||||
-export([start/0]).
|
-export([start/0]).
|
||||||
|
-export([gen_register_packet/2]).
|
||||||
|
|
||||||
start() ->
|
start() ->
|
||||||
io:format("start to connect ~p:~p~n", [?HOST, ?PORT]),
|
io:format("start to connect ~p:~p~n", [?HOST, ?PORT]),
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
-define(PORT, 1884).
|
-define(PORT, 1884).
|
||||||
|
|
||||||
-export([start/0]).
|
-export([start/0]).
|
||||||
|
-export([gen_register_packet/2]).
|
||||||
|
|
||||||
start() ->
|
start() ->
|
||||||
io:format("start to connect ~p:~p~n", [?HOST, ?PORT]),
|
io:format("start to connect ~p:~p~n", [?HOST, ?PORT]),
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
-define(HOST, {127,0,0,1}).
|
-define(HOST, {127,0,0,1}).
|
||||||
-define(PORT, 1884).
|
-define(PORT, 1884).
|
||||||
|
|
||||||
-export([start/0]).
|
-export([start/1]).
|
||||||
|
|
||||||
start(LoopTimes) ->
|
start(LoopTimes) ->
|
||||||
io:format("start to connect ~p:~p~n", [?HOST, ?PORT]),
|
io:format("start to connect ~p:~p~n", [?HOST, ?PORT]),
|
||||||
|
|
|
@ -61,5 +61,5 @@ t_restart_shared_sub(Config) when is_list(Config) ->
|
||||||
after 2000 ->
|
after 2000 ->
|
||||||
false
|
false
|
||||||
end);
|
end);
|
||||||
t_restart_shared_sub({'end', Config}) ->
|
t_restart_shared_sub({'end', _Config}) ->
|
||||||
emqx:unsubscribe(<<"$share/grpa/t/a">>).
|
emqx:unsubscribe(<<"$share/grpa/t/a">>).
|
||||||
|
|
Loading…
Reference in New Issue