test(mgmt): Disable certain tests on OSS

This commit is contained in:
ieQu1 2024-07-26 20:24:53 +02:00
parent 8c1302f455
commit 268f887700
No known key found for this signature in database
GPG Key ID: 488654DF3FED6FDE
4 changed files with 18 additions and 4 deletions

View File

@ -5,7 +5,6 @@
-module(emqx_enterprise_schema). -module(emqx_enterprise_schema).
-behaviour(hocon_schema). -behaviour(hocon_schema).
-behaviour(emqx_schema_hooks).
-include_lib("typerefl/include/types.hrl"). -include_lib("typerefl/include/types.hrl").
-include_lib("hocon/include/hoconsc.hrl"). -include_lib("hocon/include/hoconsc.hrl").

View File

@ -24,7 +24,12 @@
-define(APPS, [emqx_conf, emqx_management]). -define(APPS, [emqx_conf, emqx_management]).
all() -> all() ->
emqx_common_test_helpers:all(?MODULE). case emqx_cth_suite:skip_if_oss() of
false ->
emqx_common_test_helpers:all(?MODULE);
True ->
True
end.
init_per_suite(Config) -> init_per_suite(Config) ->
Config. Config.

View File

@ -36,7 +36,12 @@
). ).
all() -> all() ->
emqx_common_test_helpers:all(?MODULE). case emqx_cth_suite:skip_if_oss() of
false ->
emqx_common_test_helpers:all(?MODULE);
True ->
True
end.
init_per_suite(Config) -> init_per_suite(Config) ->
Config. Config.

View File

@ -52,7 +52,12 @@
>>). >>).
all() -> all() ->
emqx_common_test_helpers:all(?MODULE). case emqx_cth_suite:skip_if_oss() of
false ->
emqx_common_test_helpers:all(?MODULE);
True ->
True
end.
init_per_suite(Config) -> init_per_suite(Config) ->
Config. Config.