test(refactor): always allocate listeners for emqx app
This commit is contained in:
parent
a15405a800
commit
6de0bbe76a
|
@ -245,7 +245,7 @@ default_appspec(emqx_conf, Spec, _NodeSpecs) ->
|
||||||
listeners => allocate_listener_ports([tcp, ssl, ws, wss], Spec)
|
listeners => allocate_listener_ports([tcp, ssl, ws, wss], Spec)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
default_appspec(emqx, Spec = #{listeners := true}, _NodeSpecs) ->
|
default_appspec(emqx, Spec, _NodeSpecs) ->
|
||||||
#{config => #{listeners => allocate_listener_ports([tcp, ssl, ws, wss], Spec)}};
|
#{config => #{listeners => allocate_listener_ports([tcp, ssl, ws, wss], Spec)}};
|
||||||
default_appspec(_App, _, _) ->
|
default_appspec(_App, _, _) ->
|
||||||
#{}.
|
#{}.
|
||||||
|
|
|
@ -266,7 +266,6 @@ cluster() ->
|
||||||
Spec = #{
|
Spec = #{
|
||||||
role => core,
|
role => core,
|
||||||
join_to => emqx_cth_cluster:node_name(Node1),
|
join_to => emqx_cth_cluster:node_name(Node1),
|
||||||
listeners => true,
|
|
||||||
apps => app_specs()
|
apps => app_specs()
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
|
|
|
@ -57,7 +57,6 @@ cluster(#{n := N}) ->
|
||||||
Spec = #{
|
Spec = #{
|
||||||
role => core,
|
role => core,
|
||||||
join_to => emqx_cth_cluster:node_name(Node1),
|
join_to => emqx_cth_cluster:node_name(Node1),
|
||||||
listeners => true,
|
|
||||||
apps => app_specs()
|
apps => app_specs()
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue