Skip to content

Commit 99e085e

Browse files
committed
Fix test for rabbitmq-ct-helpers change
rabbit_ct_broker_helpers:rpc now raised an exception if the remote call fails. This matches the assertion with the new behavior (cherry picked from commit 2d06a67)
1 parent 57555f7 commit 99e085e

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
@@ -666,10 +666,10 @@ mark_feature_flag_as_enabled_with_a_network_partition(Config) ->
666666
FeatureName,
667667
true,
668668
RemoteNodes},
669-
rabbit_ct_broker_helpers:rpc(
670-
Config, B,
671-
rabbit_feature_flags, mark_as_enabled_remotely,
672-
[RemoteNodes, FeatureName, true, 20000])),
669+
catch rabbit_ct_broker_helpers:rpc(
670+
Config, B,
671+
rabbit_feature_flags, mark_as_enabled_remotely,
672+
[RemoteNodes, FeatureName, true, 20000])),
673673

674674
RepairFun = fun() ->
675675
%% Wait a few seconds before we repair the network.

0 commit comments

Comments
 (0)