From de1ac131f704a3dbacc413421219caae7c8a6da0 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Tue, 28 May 2024 20:27:13 +0200 Subject: [PATCH] test(cluster-link): fix test suite setup --- apps/emqx_cluster_link/test/emqx_cluster_link_SUITE.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/emqx_cluster_link/test/emqx_cluster_link_SUITE.erl b/apps/emqx_cluster_link/test/emqx_cluster_link_SUITE.erl index 11911fc00..d957eb580 100644 --- a/apps/emqx_cluster_link/test/emqx_cluster_link_SUITE.erl +++ b/apps/emqx_cluster_link/test/emqx_cluster_link_SUITE.erl @@ -53,8 +53,8 @@ start_source_cluster(Config) -> SourceApps2 = [{emqx_conf, combine([conf_log(), conf_mqtt_listener(41883), SourceConf])}], emqx_cth_cluster:start( [ - {emqx_clink_msgfwd_source1, #{apps => SourceApps1 ++ [emqx]}}, - {emqx_clink_msgfwd_source2, #{apps => SourceApps2 ++ [emqx]}} + {emqx_clink_msgfwd_source1, #{apps => SourceApps1}}, + {emqx_clink_msgfwd_source2, #{apps => SourceApps2}} ], #{work_dir => emqx_cth_suite:work_dir(Config)} ). @@ -75,8 +75,8 @@ start_target_cluster(Config) -> TargetApps2 = [{emqx_conf, combine([conf_log(), conf_mqtt_listener(31883), TargetConf])}], emqx_cth_cluster:start( [ - {emqx_clink_msgfwd_target1, #{apps => TargetApps1 ++ [emqx], base_port => 20100}}, - {emqx_clink_msgfwd_target2, #{apps => TargetApps2 ++ [emqx], base_port => 20200}} + {emqx_clink_msgfwd_target1, #{apps => TargetApps1, base_port => 20100}}, + {emqx_clink_msgfwd_target2, #{apps => TargetApps2, base_port => 20200}} ], #{work_dir => emqx_cth_suite:work_dir(Config)} ).