25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Allow configuring proxy65 port in tests

This commit is contained in:
Paweł Chmielowski 2019-10-01 17:00:50 +02:00
parent 0673b068e0
commit 6ca5691792
9 changed files with 15 additions and 6 deletions

View File

@ -24,7 +24,8 @@ define_macro:
mod_configure: [] mod_configure: []
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: [] mod_proxy65:
port: PROXY_PORT
mod_register: mod_register:
welcome_message: welcome_message:
subject: "Welcome!" subject: "Welcome!"

View File

@ -46,7 +46,8 @@ define_macro:
mod_configure: [] mod_configure: []
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: [] mod_proxy65:
port: PROXY_PORT
mod_push: mod_push:
include_body: false include_body: false
mod_push_keepalive: [] mod_push_keepalive: []

View File

@ -52,7 +52,8 @@ define_macro:
mod_configure: [] mod_configure: []
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: [] mod_proxy65:
port: PROXY_PORT
mod_push: mod_push:
db_type: sql db_type: sql
include_body: false include_body: false

View File

@ -52,7 +52,8 @@ define_macro:
mod_configure: [] mod_configure: []
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: [] mod_proxy65:
port: PROXY_PORT
mod_push: mod_push:
db_type: sql db_type: sql
include_body: false include_body: false

View File

@ -47,7 +47,8 @@ define_macro:
mod_configure: [] mod_configure: []
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: [] mod_proxy65:
port: PROXY_PORT
mod_push: mod_push:
include_body: false include_body: false
mod_push_keepalive: [] mod_push_keepalive: []

View File

@ -46,7 +46,8 @@ define_macro:
mod_configure: [] mod_configure: []
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: [] mod_proxy65:
port: PROXY_PORT
mod_push: mod_push:
db_type: sql db_type: sql
include_body: false include_body: false

View File

@ -101,6 +101,7 @@ modules:
mod_disco: [] mod_disco: []
mod_ping: [] mod_ping: []
mod_proxy65: mod_proxy65:
port: PROXY_PORT
vcard: VCARD vcard: VCARD
mod_muc: mod_muc:
vcard: VCARD vcard: VCARD

View File

@ -5,6 +5,7 @@ define_macro:
S2S_PORT: @@s2s_port@@ S2S_PORT: @@s2s_port@@
WEB_PORT: @@web_port@@ WEB_PORT: @@web_port@@
COMPONENT_PORT: @@component_port@@ COMPONENT_PORT: @@component_port@@
PROXY_PORT: @@proxy_port@@
PASSWORD: >- PASSWORD: >-
@@password@@ @@password@@
LOGLEVEL: @@loglevel@@ LOGLEVEL: @@loglevel@@

View File

@ -62,6 +62,7 @@ init_config(Config) ->
{s2s_port, 5269}, {s2s_port, 5269},
{component_port, 5270}, {component_port, 5270},
{web_port, 5280}, {web_port, 5280},
{proxy_port, 7777},
{password, Password}, {password, Password},
{mysql_server, <<"localhost">>}, {mysql_server, <<"localhost">>},
{mysql_port, 3306}, {mysql_port, 3306},