Skip to content

Commit 50f73b2

Browse files
committed
amqp_client_SUITE: enable plugin rabbitmq_amqp1_0
1 parent 3c8f63b commit 50f73b2

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

deps/rabbit/test/amqp_client_SUITE.erl

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,15 @@ init_per_group(Group, Config) ->
238238
Config1 = rabbit_ct_helpers:set_config(
239239
Config, [{rmq_nodes_count, Nodes},
240240
{rmq_nodename_suffix, Suffix}]),
241-
rabbit_ct_helpers:run_setup_steps(
242-
Config1,
243-
rabbit_ct_broker_helpers:setup_steps() ++
244-
rabbit_ct_client_helpers:setup_steps()).
241+
Config2 = rabbit_ct_helpers:run_setup_steps(
242+
Config1,
243+
rabbit_ct_broker_helpers:setup_steps() ++
244+
rabbit_ct_client_helpers:setup_steps()),
245+
% AMQP 1.0 had to be explicitly enabled until RabbitMQ 4.0
246+
% this can be removed once upgrade from 3.13 are not supported
247+
[ ok = rabbit_ct_broker_helpers:enable_plugin(Config, N, rabbitmq_amqp1_0)
248+
|| N <- lists:seq(1, Nodes)],
249+
Config2.
245250

246251
end_per_group(_, Config) ->
247252
rabbit_ct_helpers:run_teardown_steps(Config,

0 commit comments

Comments
 (0)