Skip to content

Commit 1d7c6b1

Browse files
committed
Try to enabled the FF in tests
1 parent 3ca0d74 commit 1d7c6b1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

deps/rabbit/test/classic_queue_SUITE.erl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,11 @@ end_per_group(_, Config) ->
6161
rabbit_ct_broker_helpers:teardown_steps()).
6262

6363
init_per_testcase(T, Config) ->
64-
case rpc(Config, rabbit_feature_flags, is_enabled, [classic_queue_leader_locator]) of
65-
true ->
64+
case rabbit_ct_broker_helpers:enable_feature_flag(Config, classic_queue_leader_locator) of
65+
ok ->
6666
rabbit_ct_helpers:testcase_started(Config, T);
67-
false ->
68-
{skip, "queue-leader-locator support was added to classic queues in 4.0;"
69-
"previously only queue-master-locator was allowed"}
67+
Skip ->
68+
Skip
7069
end.
7170

7271
%% -------------------------------------------------------------------

0 commit comments

Comments
 (0)