@@ -1335,7 +1335,8 @@ rabbitmqctl(Config, Node, Args, Timeout) ->
13351335 {" RABBITMQ_MNESIA_DIR" , ? config (data_dir , NodeConfig )},
13361336 {" RABBITMQ_PLUGINS_DIR" , ? config (plugins_dir , NodeConfig )},
13371337 {" RABBITMQ_ENABLED_PLUGINS_FILE" ,
1338- ? config (enabled_plugins_file , NodeConfig )}
1338+ ? config (enabled_plugins_file , NodeConfig )},
1339+ {" RABBITMQ_CTL_UNIQUE_NODE_NAME" , " true" }
13391340 ],
13401341 Ret = rabbit_ct_helpers :get_config (
13411342 NodeConfig , enabled_feature_flags_list_file ),
@@ -1366,7 +1367,8 @@ rabbitmq_queues(Config, Node, Args) ->
13661367 {" RABBITMQ_MNESIA_DIR" , ? config (data_dir , NodeConfig )},
13671368 {" RABBITMQ_PLUGINS_DIR" , ? config (plugins_dir , NodeConfig )},
13681369 {" RABBITMQ_ENABLED_PLUGINS_FILE" ,
1369- ? config (enabled_plugins_file , NodeConfig )}
1370+ ? config (enabled_plugins_file , NodeConfig )},
1371+ {" RABBITMQ_CTL_UNIQUE_NODE_NAME" , " true" }
13701372 ],
13711373 Ret = rabbit_ct_helpers :get_config (
13721374 NodeConfig , enabled_feature_flags_list_file ),
@@ -1390,7 +1392,8 @@ rabbitmq_streams(Config, Node, Args) ->
13901392 {" RABBITMQ_MNESIA_DIR" , ? config (data_dir , NodeConfig )},
13911393 {" RABBITMQ_PLUGINS_DIR" , ? config (plugins_dir , NodeConfig )},
13921394 {" RABBITMQ_ENABLED_PLUGINS_FILE" ,
1393- ? config (enabled_plugins_file , NodeConfig )}
1395+ ? config (enabled_plugins_file , NodeConfig )},
1396+ {" RABBITMQ_CTL_UNIQUE_NODE_NAME" , " true" }
13941397 ],
13951398 Ret = rabbit_ct_helpers :get_config (
13961399 NodeConfig , enabled_feature_flags_list_file ),
@@ -1414,7 +1417,8 @@ rabbitmq_diagnostics(Config, Node, Args) ->
14141417 {" RABBITMQ_MNESIA_DIR" , ? config (data_dir , NodeConfig )},
14151418 {" RABBITMQ_PLUGINS_DIR" , ? config (plugins_dir , NodeConfig )},
14161419 {" RABBITMQ_ENABLED_PLUGINS_FILE" ,
1417- ? config (enabled_plugins_file , NodeConfig )}
1420+ ? config (enabled_plugins_file , NodeConfig )},
1421+ {" RABBITMQ_CTL_UNIQUE_NODE_NAME" , " true" }
14181422 ],
14191423 Cmd = [Rabbitmqdiagnostics , " -n" , Nodename | Args ],
14201424 rabbit_ct_helpers :exec (Cmd , [{env , Env }]).
@@ -2252,7 +2256,8 @@ plugin_action(Config, Node, Args) ->
22522256 {" RABBITMQ_MNESIA_DIR" , ? config (data_dir , NodeConfig )},
22532257 {" RABBITMQ_PLUGINS_DIR" , ? config (plugins_dir , NodeConfig )},
22542258 {" RABBITMQ_ENABLED_PLUGINS_FILE" ,
2255- ? config (enabled_plugins_file , NodeConfig )}
2259+ ? config (enabled_plugins_file , NodeConfig )},
2260+ {" RABBITMQ_CTL_UNIQUE_NODE_NAME" , " true" }
22562261 ],
22572262 Cmd = [Rabbitmqplugins , " -n" , Nodename | Args ],
22582263 {ok , _ } = rabbit_ct_helpers :exec (Cmd , [{env , Env }]),
0 commit comments