Skip to content

Commit 0dc800c

Browse files
committed
Enable plugin rabbitmq_amqp1_0 if necessary
1 parent 3c8f63b commit 0dc800c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

deps/rabbit/test/amqp_client_SUITE.erl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,13 @@ init_per_testcase(T = dead_letter_reject, Config) ->
359359
{skip, "This test is known to fail with feature flag message_containers_deaths_v2 disabled "
360360
"due bug https://github.com/rabbitmq/rabbitmq-server/issues/11159"}
361361
end;
362+
init_per_testcase(T, Config)
363+
when T =:= classic_queue_on_new_node orelse
364+
T =:= quorum_queue_on_new_node ->
365+
%% If node 1 runs 4.x, this is the new no-op plugin.
366+
%% If node 1 runs 3.x, this is the old real plugin.
367+
ok = rabbit_ct_broker_helpers:enable_plugin(Config, 1, rabbitmq_amqp1_0),
368+
rabbit_ct_helpers:testcase_started(Config, T);
362369
init_per_testcase(Testcase, Config) ->
363370
rabbit_ct_helpers:testcase_started(Config, Testcase).
364371

0 commit comments

Comments
 (0)