Merge pull request #8183 from zmstone/0612-chore-pin-rebar3_hex-plugin-version-7.0.2
build: pin rebar3_hex plugin version 7.0.2
This commit is contained in:
commit
08d5f4869b
|
@ -22,6 +22,7 @@
|
||||||
-include_lib("common_test/include/ct.hrl").
|
-include_lib("common_test/include/ct.hrl").
|
||||||
-include_lib("eunit/include/eunit.hrl").
|
-include_lib("eunit/include/eunit.hrl").
|
||||||
-include_lib("emqx/include/emqx.hrl").
|
-include_lib("emqx/include/emqx.hrl").
|
||||||
|
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
|
||||||
|
|
||||||
-record(emqx_trace, {name, type, filter, enable = true, start_at, end_at}).
|
-record(emqx_trace, {name, type, filter, enable = true, start_at, end_at}).
|
||||||
|
|
||||||
|
@ -33,7 +34,19 @@ all() ->
|
||||||
emqx_common_test_helpers:all(?MODULE).
|
emqx_common_test_helpers:all(?MODULE).
|
||||||
|
|
||||||
init_per_suite(Config) ->
|
init_per_suite(Config) ->
|
||||||
|
%% ensure dependent apps stopped
|
||||||
|
emqx_common_test_helpers:stop_apps([]),
|
||||||
|
?check_trace(
|
||||||
|
?wait_async_action(
|
||||||
emqx_common_test_helpers:start_apps([]),
|
emqx_common_test_helpers:start_apps([]),
|
||||||
|
#{?snk_kind := listener_started, bind := 1883},
|
||||||
|
timer:seconds(10)
|
||||||
|
),
|
||||||
|
fun(Trace) ->
|
||||||
|
%% more than one listener
|
||||||
|
?assertMatch([_ | _], ?of_kind(listener_started, Trace))
|
||||||
|
end
|
||||||
|
),
|
||||||
Config.
|
Config.
|
||||||
|
|
||||||
end_per_suite(_Config) ->
|
end_per_suite(_Config) ->
|
||||||
|
|
|
@ -84,4 +84,4 @@
|
||||||
emqx_exproto_pb % generated code for protobuf
|
emqx_exproto_pb % generated code for protobuf
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
{project_plugins, [erlfmt]}.
|
{project_plugins, [erlfmt, {rebar3_hex, "7.0.2"}]}.
|
||||||
|
|
Loading…
Reference in New Issue