Skip to content

Commit 0d8f9c8

Browse files
committed
WIP
1 parent 379c6b1 commit 0d8f9c8

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/test-make-target.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,5 @@ jobs:
7878
path: |
7979
logs/
8080
!logs/**/log_private
81+
deps/rabbitmq_mqtt/test/java_SUITE_data/target
8182
if-no-files-found: ignore

deps/rabbitmq_mqtt/test/java_SUITE.erl

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ suite() ->
4040
%% -------------------------------------------------------------------
4141

4242
merge_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

4849
init_per_suite(Config) ->
@@ -123,11 +124,3 @@ run_test(Config, Target) ->
123124

124125
rpc(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

Comments
 (0)