@@ -40,9 +40,10 @@ suite() ->
4040% % -------------------------------------------------------------------
4141
4242merge_app_env (Config ) ->
43- { ok , Ssl } = q (Config , [ erlang_node_config , rabbit , ssl_options ]),
43+ Ssl = rabbit_ct_helpers : get_app_env (Config , rabbit , ssl_options , [ ]),
4444 Ssl1 = lists :keyreplace (fail_if_no_peer_cert , 1 , Ssl , {fail_if_no_peer_cert , false }),
45- Config1 = rabbit_ct_helpers :merge_app_env (Config , {rabbit , [{ssl_options , Ssl1 }]}),
45+ Ssl2 = [{versions , ['tlsv1.2' ]}|Ssl1 ],
46+ Config1 = rabbit_ct_helpers :merge_app_env (Config , {rabbit , [{ssl_options , Ssl2 }]}),
4647 rabbit_ct_helpers :merge_app_env (Config1 , ? BASE_CONF_MQTT ).
4748
4849init_per_suite (Config ) ->
@@ -123,11 +124,3 @@ run_test(Config, Target) ->
123124
124125rpc (Config , M , F , A ) ->
125126 rabbit_ct_broker_helpers :rpc (Config , 0 , M , F , A ).
126-
127- q (P , [K | Rem ]) ->
128- case proplists :get_value (K , P ) of
129- undefined -> undefined ;
130- V -> q (V , Rem )
131- end ;
132- q (P , []) -> {ok , P }.
133-
0 commit comments