Fix emqx_alarm_handler_SUITE
Prior to this change, emqx_alarm_handler_SUITE read emqx.conf rather gen.emqx.conf which would trigger unexpected errors This change fix this issue.
This commit is contained in:
parent
076f3e3068
commit
27a7105fac
|
@ -30,7 +30,7 @@ init_per_suite(Config) ->
|
|||
[start_apps(App, {SchemaFile, ConfigFile}) ||
|
||||
{App, SchemaFile, ConfigFile}
|
||||
<- [{emqx, local_path("priv/emqx.schema"),
|
||||
local_path("etc/emqx.conf")}]],
|
||||
local_path("etc/gen.emqx.conf")}]],
|
||||
Config.
|
||||
|
||||
end_per_suite(_Config) ->
|
||||
|
@ -142,4 +142,3 @@ raw_send_serialize(Packet, Opts) ->
|
|||
raw_recv_parse(P, ProtoVersion) ->
|
||||
emqx_frame:parse(P, {none, #{max_packet_size => ?MAX_PACKET_SIZE,
|
||||
version => ProtoVersion}}).
|
||||
|
||||
|
|
Loading…
Reference in New Issue