test(mria): Remove role from the example config
This commit is contained in:
parent
9da744c423
commit
1beda1cd11
|
@ -519,3 +519,14 @@ upgrade_raw_conf(Conf) ->
|
|||
ce ->
|
||||
emqx_conf_schema:upgrade_raw_conf(Conf)
|
||||
end.
|
||||
|
||||
skip_if_oss() ->
|
||||
try emqx_release:edition() of
|
||||
ee ->
|
||||
false;
|
||||
_ ->
|
||||
{skip, not_supported_in_oss}
|
||||
catch
|
||||
error:undef ->
|
||||
{skip, standalone_not_supported}
|
||||
end.
|
||||
|
|
|
@ -22,7 +22,13 @@
|
|||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
all() ->
|
||||
emqx_common_test_helpers:all(?MODULE).
|
||||
All = emqx_common_test_helpers:all(?MODULE),
|
||||
case emqx_cth_suite:skip_if_oss() of
|
||||
false ->
|
||||
All;
|
||||
_ ->
|
||||
All -- [t_autocluster_leave]
|
||||
end.
|
||||
|
||||
init_per_suite(Config) ->
|
||||
Apps = emqx_cth_suite:start(
|
||||
|
|
|
@ -11,11 +11,11 @@ node {
|
|||
## Secret cookie is a random string that should be the same on all nodes in the cluster, but unique per EMQX cluster
|
||||
cookie = "Yzc0NGExM2Rj"
|
||||
|
||||
## Select a node role
|
||||
## Select a node role (Enterprise Edition feature)
|
||||
## Possible values:
|
||||
## - core: This is a core node which provides durability of the client states, and takes care of writes
|
||||
## - replicant: This is a stateless worker node
|
||||
role = core
|
||||
## role = core
|
||||
|
||||
## Maximum number of simultaneously existing processes for this Erlang system
|
||||
process_limit = 2097152
|
||||
|
|
Loading…
Reference in New Issue