Skip to content

Commit e808786

Browse files
committed
Use helper for feature flag in test
1 parent 7576967 commit e808786

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

deps/rabbit/test/amqp_connection_uniqueness_SUITE.erl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
[has_capability/2]).
2323

2424
-import(rabbit_ct_broker_helpers,
25-
[rpc/5,
25+
[enable_feature_flag/2,
2626
rpc_all/4]).
2727

2828
all() ->
@@ -67,8 +67,7 @@ init_per_group(Group, Config) ->
6767
rabbit_ct_client_helpers:setup_steps()),
6868
case Nodes > 1 of
6969
true ->
70-
case rpc(Config2, 0, rabbit_feature_flags,
71-
enable, ['rabbitmq_4.4.0']) of
70+
case enable_feature_flag(Config2, 'rabbitmq_4.4.0') of
7271
ok ->
7372
Config2;
7473
_ ->

0 commit comments

Comments
 (0)