Skip to content

Commit c9aec0f

Browse files
committed
OK?
1 parent 9043cf8 commit c9aec0f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,15 @@ do_start_rabbitmq_node(Config, NodeConfig, I) ->
769769
case UseSecondaryDist of
770770
true ->
771771
SecondaryDist = ?config(secondary_dist, Config),
772-
SecondaryEnabledPlugins = case {?config(secondary_enabled_plugins, Config), filename:basename(SrcDir)} of
773-
{undefined, "rabbit"} -> "";
774-
{undefined, SrcPlugin} -> SrcPlugin;
775-
{SecondaryEnabledPlugins0, _} -> SecondaryEnabledPlugins0
772+
SecondaryEnabledPlugins = case {
773+
StartWithPluginsDisabled,
774+
?config(secondary_enabled_plugins, Config),
775+
filename:basename(SrcDir)
776+
} of
777+
{true, _, _} -> "";
778+
{_, undefined, "rabbit"} -> "";
779+
{_, undefined, SrcPlugin} -> SrcPlugin;
780+
{_, SecondaryEnabledPlugins0, _} -> SecondaryEnabledPlugins0
776781
end,
777782
[{"DIST_DIR=~ts/plugins", [SecondaryDist]},
778783
{"CLI_SCRIPTS_DIR=~ts/sbin", [SecondaryDist]},

0 commit comments

Comments
 (0)