Skip to content

Commit bc44234

Browse files
committed
rabbit_feature_flags: Ack behavior change with plugins in feature_flags_SUITE
A plugin's stable feature flag will now be enabled on initial node start with `feature_flags_v2` required.
1 parent a826eed commit bc44234

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbit/test/feature_flags_SUITE.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
enable_feature_flag_with_a_network_partition/1,
2929
mark_feature_flag_as_enabled_with_a_network_partition/1,
3030
required_feature_flag_enabled_by_default/1,
31-
plugin_ff_still_enabled_after_node_restart/1,
31+
plugin_stable_ff_enabled_on_initial_node_start/1,
3232

3333
clustering_ok_with_ff_disabled_everywhere/1,
3434
clustering_ok_with_ff_enabled_on_some_nodes/1,
@@ -59,7 +59,7 @@ groups() ->
5959
enable_feature_flag_in_a_healthy_situation,
6060
enable_unsupported_feature_flag_in_a_healthy_situation,
6161
required_feature_flag_enabled_by_default,
62-
plugin_ff_still_enabled_after_node_restart
62+
plugin_stable_ff_enabled_on_initial_node_start
6363
]},
6464
{enabling_in_cluster, [],
6565
[
@@ -1012,9 +1012,9 @@ required_feature_flag_enabled_by_default(Config) ->
10121012
True,
10131013
is_feature_flag_enabled(Config, RequiredFName)).
10141014

1015-
plugin_ff_still_enabled_after_node_restart(Config) ->
1015+
plugin_stable_ff_enabled_on_initial_node_start(Config) ->
10161016
?assertEqual([true], is_feature_flag_supported(Config, plugin_ff)),
1017-
?assertEqual([false], is_feature_flag_enabled(Config, plugin_ff)),
1017+
?assertEqual([true], is_feature_flag_enabled(Config, plugin_ff)),
10181018

10191019
?assertEqual(ok, enable_feature_flag_on(Config, 0, plugin_ff)),
10201020

0 commit comments

Comments
 (0)