zhongwencool 2 лет назад
Родитель
Сommit
d661b10355

+ 1 - 1
apps/emqx/test/emqx_common_test_helpers.erl

@@ -618,7 +618,7 @@ ensure_quic_listener(Name, UdpPort, ExtraSettings) ->
                 "TLS_AES_128_GCM_SHA256",
                 "TLS_CHACHA20_POLY1305_SHA256"
             ],
-        enabled => true,
+        enable => true,
         idle_timeout => 15000,
         ssl_options => #{
             certfile => filename:join(code:lib_dir(emqx), "etc/certs/cert.pem"),

+ 1 - 1
apps/emqx_eviction_agent/test/emqx_eviction_agent_test_helpers.erl

@@ -84,7 +84,7 @@ start_cluster(NamesWithPorts, Apps, Env) ->
         {env, [{emqx, boot_modules, [broker, listeners]}] ++ Env},
         {apps, Apps},
         {conf,
-            [{[listeners, Proto, default, enabled], false} || Proto <- [ssl, ws, wss]] ++
+            [{[listeners, Proto, default, enable], false} || Proto <- [ssl, ws, wss]] ++
                 [{[rpc, mode], async}]}
     ],
     Cluster = emqx_common_test_helpers:emqx_cluster(