Skip to content

Commit c4da5ef

Browse files
committed
feature_flags_SUITE: Just set the extra plugin path
rabbit_ct_broker_helpers will take care of prepending the regular plugins path. (cherry picked from commit b772a9c)
1 parent 5d37005 commit c4da5ef

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/feature_flags_SUITE.erl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -877,13 +877,7 @@ activating_plugin_with_new_ff_enabled(Config) ->
877877

878878
build_my_plugin(Config) ->
879879
PluginSrcDir = filename:join(?config(data_dir, Config), "my_plugin"),
880-
PluginsDir1 = filename:join(?config(current_srcdir, Config), "plugins"),
881-
PluginsDir2 = filename:join(PluginSrcDir, "plugins"),
882-
PathSep = case os:type() of
883-
{win32, _} -> ";";
884-
_ -> ":"
885-
end,
886-
PluginsDir = PluginsDir1 ++ PathSep ++ PluginsDir2,
880+
PluginsDir = filename:join(PluginSrcDir, "plugins"),
887881
Config1 = rabbit_ct_helpers:set_config(Config,
888882
[{rmq_plugins_dir, PluginsDir}]),
889883
case filelib:wildcard("plugins/my_plugin-*", PluginSrcDir) of

0 commit comments

Comments
 (0)