Skip to content

Commit 564a562

Browse files
committed
Explicitly match skips when setting metadata store in CT
This causes a clearer error when the `enable_feature_flags/2` function returns something not in the shape `ok | {skip, any()}`.
1 parent 7c8cc61 commit 564a562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ enable_khepri_metadata_store(Config, FFs0) ->
992992
case enable_feature_flag(C, FF) of
993993
ok ->
994994
C;
995-
Skip ->
995+
{skip, _} = Skip ->
996996
ct:pal("Enabling metadata store failed: ~p", [Skip]),
997997
Skip
998998
end

0 commit comments

Comments
 (0)