summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_feature_flags.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rabbit_feature_flags.erl b/src/rabbit_feature_flags.erl
index e8cf31e0b7..63b920ea19 100644
--- a/src/rabbit_feature_flags.erl
+++ b/src/rabbit_feature_flags.erl
@@ -133,7 +133,8 @@
initialize_registry/3,
query_supported_feature_flags/0,
mark_as_enabled_remotely/2,
- mark_as_enabled_remotely/4]).
+ mark_as_enabled_remotely/4,
+ registry_loading_lock/0]).
-endif.
%% Default timeout for operations on remote nodes.
@@ -1244,6 +1245,10 @@ maybe_log_registry_source_code(Forms) ->
ok
end.
+-ifdef(TEST).
+registry_loading_lock() -> ?FF_REGISTRY_LOADING_LOCK.
+-endif.
+
-spec load_registry_mod(atom(), binary()) ->
ok | {error, any()} | no_return().
%% @private