Skip to content

Commit bd31400

Browse files
committed
java_SUITE: Add missing error handling
1 parent cf9fd54 commit bd31400

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

deps/rabbitmq_mqtt/test/java_SUITE.erl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,13 @@ init_per_group(Group, Config0) ->
6767
[fun merge_app_env/1] ++
6868
rabbit_ct_broker_helpers:setup_steps() ++
6969
rabbit_ct_client_helpers:setup_steps()),
70-
util:enable_plugin(Config1, rabbitmq_mqtt),
71-
Config1.
70+
case Config1 of
71+
_ when is_list(Config1) ->
72+
util:enable_plugin(Config1, rabbitmq_mqtt),
73+
Config1;
74+
{skip, _} ->
75+
Config1
76+
end.
7277

7378
end_per_group(_, Config) ->
7479
rabbit_ct_helpers:run_teardown_steps(Config,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy