fix(test): update testcases for emqx_gateway
This commit is contained in:
parent
f7f2523030
commit
f68b8c4097
|
@ -113,7 +113,8 @@ init(ConnInfo = #{peername := {PeerHost, _},
|
|||
Mountpoint = maps:get(mountpoint, Option, undefined),
|
||||
ClientInfo = setting_peercert_infos(
|
||||
Peercert,
|
||||
#{ zone => undefined
|
||||
#{ zone => default
|
||||
, listener => mqtt_tcp
|
||||
, protocol => stomp
|
||||
, peerhost => PeerHost
|
||||
, sockport => SockPort
|
||||
|
|
|
@ -245,7 +245,9 @@ init_state(Transport, Socket, Options) ->
|
|||
peername => Peername,
|
||||
sockname => Sockname,
|
||||
peercert => Peercert,
|
||||
conn_mod => ?MODULE
|
||||
conn_mod => ?MODULE,
|
||||
zone => default,
|
||||
listener => mqtt_tcp
|
||||
},
|
||||
ActiveN = emqx_gateway_utils:active_n(Options),
|
||||
%% TODO: RateLimit ? How ?
|
||||
|
|
Loading…
Reference in New Issue