skip dead_letter_headers_should_not_be_appended_for_republish with 3.13

This commit is contained in:
Michal Kuratczyk 2025-07-04 14:03:11 +02:00
parent 966cc05408
commit c35395ecc6
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

View File

@ -184,6 +184,14 @@ init_per_testcase(T, Config)
%% * stream is known to fail due to https://github.com/rabbitmq/rabbitmq-server/issues/11173
ok = rabbit_ct_broker_helpers:enable_feature_flag(Config, message_containers_deaths_v2),
init_per_testcase0(T, Config);
init_per_testcase(T, Config)
when T =:= dead_letter_headers_should_not_be_appended_for_republish ->
case rabbit_ct_broker_helpers:enable_feature_flag(Config, 'rabbitmq_4.0.0') of
ok ->
init_per_testcase0(T, Config);
_ ->
{skip, "The expectations of this test don't match 3.13 behaviour"}
end;
init_per_testcase(Testcase, Config) ->
init_per_testcase0(Testcase, Config).