fix: disable bridge_v2 tests if not on enterprise

This commit is contained in:
Stefan Strigler 2023-10-24 10:41:33 +02:00 committed by Zaiming (Stone) Shi
parent e72b952138
commit a847b043df
2 changed files with 12 additions and 0 deletions

View File

@ -154,12 +154,18 @@
{emqx_dashboard, "dashboard.listeners.http { enable = true, bind = 18083 }"} {emqx_dashboard, "dashboard.listeners.http { enable = true, bind = 18083 }"}
). ).
-if(?EMQX_RELEASE_EDITION == ee).
%% For now we got only kafka implementing `bridge_v2` and that is enterprise only.
all() -> all() ->
[ [
{group, single}, {group, single},
%{group, cluster_later_join}, %{group, cluster_later_join},
{group, cluster} {group, cluster}
]. ].
-else.
all() ->
[].
-endif.
groups() -> groups() ->
AllTCs = emqx_common_test_helpers:all(?MODULE), AllTCs = emqx_common_test_helpers:all(?MODULE),

View File

@ -112,12 +112,18 @@
{emqx_dashboard, "dashboard.listeners.http { enable = true, bind = 18083 }"} {emqx_dashboard, "dashboard.listeners.http { enable = true, bind = 18083 }"}
). ).
-if(?EMQX_RELEASE_EDITION == ee).
%% For now we got only kafka implementing `bridge_v2` and that is enterprise only.
all() -> all() ->
[ [
{group, single}, {group, single},
%{group, cluster_later_join}, %{group, cluster_later_join},
{group, cluster} {group, cluster}
]. ].
-else.
all() ->
[].
-endif.
groups() -> groups() ->
AllTCs = emqx_common_test_helpers:all(?MODULE), AllTCs = emqx_common_test_helpers:all(?MODULE),