Skip to content

Commit

Permalink
rabbit_mgmt_http_SUITE: Enable rabbitmq_4.0.0 feature flag
Browse files Browse the repository at this point in the history
[Why]
This testsuite apparently requires it and if it's not enabled, it fails.
  • Loading branch information
dumbbell committed Jan 15, 2025
1 parent f445e00 commit 489ace3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion deps/rabbitmq_management/test/rabbit_mgmt_http_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,17 @@ start_broker(Config) ->
Setup0 = rabbit_ct_broker_helpers:setup_steps(),
Setup1 = rabbit_ct_client_helpers:setup_steps(),
Steps = Setup0 ++ Setup1,
rabbit_ct_helpers:run_setup_steps(Config, Steps).
case rabbit_ct_helpers:run_setup_steps(Config, Steps) of
{skip, _} = Skip ->
Skip;
Config1 ->
Ret = rabbit_ct_broker_helpers:enable_feature_flag(
Config1, 'rabbitmq_4.0.0'),
case Ret of
ok -> Config1;
_ -> Ret
end
end.

finish_init(Group, Config) ->
rabbit_ct_helpers:log_environment(),
Expand Down

0 comments on commit 489ace3

Please sign in to comment.