test: add default quic conf
This commit is contained in:
parent
239949ff0b
commit
d215f5e4e6
|
@ -104,6 +104,23 @@ init_per_testcase(Case, Config) ->
|
||||||
end_per_testcase(Case, Config) ->
|
end_per_testcase(Case, Config) ->
|
||||||
?MODULE:Case({'end', Config}).
|
?MODULE:Case({'end', Config}).
|
||||||
|
|
||||||
|
set_special_configs(emqx) ->
|
||||||
|
Quic = #{
|
||||||
|
enabled => true,
|
||||||
|
bind => {{0, 0, 0, 0}, 14567},
|
||||||
|
acceptors => 16,
|
||||||
|
max_connections => 1024000,
|
||||||
|
keyfile => "etc/certs/key.pem",
|
||||||
|
certfile => "etc/certs/cert.pem",
|
||||||
|
mountpoint => <<"">>,
|
||||||
|
zone => default,
|
||||||
|
idle_timeout => 15000
|
||||||
|
},
|
||||||
|
emqx_config:put_listener_conf(quic, default, [], Quic),
|
||||||
|
ok;
|
||||||
|
set_special_configs(_) ->
|
||||||
|
ok.
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% PubSub Test
|
%% PubSub Test
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue