Skip to content

Commit 2b21843

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 a15d198 commit 2b21843

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
@@ -981,7 +981,7 @@ enable_khepri_metadata_store(Config, FFs0) ->
981981
case enable_feature_flag(C, FF) of
982982
ok ->
983983
C;
984-
Skip ->
984+
{skip, _} = Skip ->
985985
ct:pal("Enabling metadata store failed: ~p", [Skip]),
986986
Skip
987987
end

0 commit comments

Comments
 (0)