Enable FFs required by 4.0
This commit is contained in:
parent
e99018c25f
commit
e3df8bcd61
|
@ -146,12 +146,26 @@ init_per_group(unclustered_2_nodes, Config) ->
|
||||||
Config1 = rabbit_ct_helpers:set_config(
|
Config1 = rabbit_ct_helpers:set_config(
|
||||||
Config, [{rmq_nodes_clustered, false}]),
|
Config, [{rmq_nodes_clustered, false}]),
|
||||||
rabbit_ct_helpers:merge_app_env(
|
rabbit_ct_helpers:merge_app_env(
|
||||||
Config1, {rabbit, [{forced_feature_flags_on_init, []}]});
|
Config1, {rabbit, [{forced_feature_flags_on_init, [
|
||||||
|
restart_streams,
|
||||||
|
stream_sac_coordinator_unblock_group,
|
||||||
|
stream_update_config_command,
|
||||||
|
stream_filtering,
|
||||||
|
message_containers,
|
||||||
|
quorum_queue_non_voters
|
||||||
|
]}]});
|
||||||
init_per_group(unclustered_3_nodes, Config) ->
|
init_per_group(unclustered_3_nodes, Config) ->
|
||||||
Config1 = rabbit_ct_helpers:set_config(
|
Config1 = rabbit_ct_helpers:set_config(
|
||||||
Config, [{rmq_nodes_clustered, false}]),
|
Config, [{rmq_nodes_clustered, false}]),
|
||||||
rabbit_ct_helpers:merge_app_env(
|
rabbit_ct_helpers:merge_app_env(
|
||||||
Config1, {rabbit, [{forced_feature_flags_on_init, []}]});
|
Config1, {rabbit, [{forced_feature_flags_on_init, [
|
||||||
|
restart_streams,
|
||||||
|
stream_sac_coordinator_unblock_group,
|
||||||
|
stream_update_config_command,
|
||||||
|
stream_filtering,
|
||||||
|
message_containers,
|
||||||
|
quorum_queue_non_voters
|
||||||
|
]}]});
|
||||||
init_per_group(clustered_2_nodes, Config) ->
|
init_per_group(clustered_2_nodes, Config) ->
|
||||||
rabbit_ct_helpers:set_config(Config, [{rmq_nodes_clustered, true}]);
|
rabbit_ct_helpers:set_config(Config, [{rmq_nodes_clustered, true}]);
|
||||||
init_per_group(clustered_3_nodes, Config) ->
|
init_per_group(clustered_3_nodes, Config) ->
|
||||||
|
|
|
@ -197,7 +197,14 @@ init_per_group(clustering, Config) ->
|
||||||
{rmq_nodes_clustered, false},
|
{rmq_nodes_clustered, false},
|
||||||
{start_rmq_with_plugins_disabled, true}]),
|
{start_rmq_with_plugins_disabled, true}]),
|
||||||
Config2 = rabbit_ct_helpers:merge_app_env(
|
Config2 = rabbit_ct_helpers:merge_app_env(
|
||||||
Config1, {rabbit, [{forced_feature_flags_on_init, []}]}),
|
Config1, {rabbit, [{forced_feature_flags_on_init, [
|
||||||
|
restart_streams,
|
||||||
|
stream_sac_coordinator_unblock_group,
|
||||||
|
stream_update_config_command,
|
||||||
|
stream_filtering,
|
||||||
|
message_containers,
|
||||||
|
quorum_queue_non_voters
|
||||||
|
]}]}),
|
||||||
rabbit_ct_helpers:run_setup_steps(Config2, [fun prepare_my_plugin/1]);
|
rabbit_ct_helpers:run_setup_steps(Config2, [fun prepare_my_plugin/1]);
|
||||||
init_per_group(activating_plugin, Config) ->
|
init_per_group(activating_plugin, Config) ->
|
||||||
Config1 = rabbit_ct_helpers:set_config(
|
Config1 = rabbit_ct_helpers:set_config(
|
||||||
|
|
|
@ -238,7 +238,14 @@ init_per_group1(Group, Config) ->
|
||||||
Config1
|
Config1
|
||||||
end,
|
end,
|
||||||
Config1c = rabbit_ct_helpers:merge_app_env(
|
Config1c = rabbit_ct_helpers:merge_app_env(
|
||||||
Config1b, {rabbit, [{forced_feature_flags_on_init, []}]}),
|
Config1b, {rabbit, [{forced_feature_flags_on_init, [
|
||||||
|
restart_streams,
|
||||||
|
stream_sac_coordinator_unblock_group,
|
||||||
|
stream_update_config_command,
|
||||||
|
stream_filtering,
|
||||||
|
message_containers,
|
||||||
|
quorum_queue_non_voters
|
||||||
|
]}]}),
|
||||||
Ret = rabbit_ct_helpers:run_steps(Config1c,
|
Ret = rabbit_ct_helpers:run_steps(Config1c,
|
||||||
[fun merge_app_env/1 ] ++
|
[fun merge_app_env/1 ] ++
|
||||||
rabbit_ct_broker_helpers:setup_steps()),
|
rabbit_ct_broker_helpers:setup_steps()),
|
||||||
|
|
|
@ -164,7 +164,17 @@ init_per_suite(Config) ->
|
||||||
Config, {rabbit, [
|
Config, {rabbit, [
|
||||||
{quorum_tick_interval, 1000},
|
{quorum_tick_interval, 1000},
|
||||||
{stream_tick_interval, 1000},
|
{stream_tick_interval, 1000},
|
||||||
{forced_feature_flags_on_init, []},
|
{forced_feature_flags_on_init, [
|
||||||
|
delete_ra_cluster_mqtt_node,
|
||||||
|
mqtt_v5,
|
||||||
|
rabbit_mqtt_qos0_queue,
|
||||||
|
restart_streams,
|
||||||
|
stream_sac_coordinator_unblock_group,
|
||||||
|
stream_update_config_command,
|
||||||
|
stream_filtering,
|
||||||
|
message_containers,
|
||||||
|
quorum_queue_non_voters
|
||||||
|
]},
|
||||||
{start_rmq_with_plugins_disabled, true}
|
{start_rmq_with_plugins_disabled, true}
|
||||||
]}),
|
]}),
|
||||||
rabbit_ct_helpers:run_setup_steps(Config1).
|
rabbit_ct_helpers:run_setup_steps(Config1).
|
||||||
|
|
Loading…
Reference in New Issue