Skip to content

Commit

Permalink
Configure mim for cluster tests with dynamic domains
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Sep 14, 2021
1 parent a88cdc9 commit fb0b90a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions big_tests/dynamic_domains.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,20 @@
{mim2, [{node, ejabberd2@localhost},
{domain, <<"domain.example.com">>},
{host_type, <<"test type">>},
{dynamic_domains, [{<<"test type">>, [<<"domain.example.com">>]}]},
{vars, "mim2"},
{cluster, mim},
{c2s_port, 5232},
{c2s_tls_port, 5233},
{metrics_rest_port, 5289},
{gd_endpoint_port, 6666},
{service_port, 8899}]},
{mim3, [{node, mongooseim3@localhost},
{domain, <<"domain.example.com">>},
{host_type, <<"test type">>},
{vars, "mim3"},
{c2s_tls_port, 5263},
{cluster, mim}]},
%% used to test s2s features
{fed, [{node, fed1@localhost},
{domain, <<"fed1">>},
Expand Down Expand Up @@ -101,6 +109,12 @@
{username, <<"admin">>},
{server, <<"localhost">>},
{password, <<"bruce_almighty">>}]},
{clusterguy, [
{username, <<"clusterguy">>},
{server, <<"domain.example.com">>},
{host, <<"localhost">>},
{password, <<"distributionftw">>},
{port, 5232}]},
{alice3, [ %% used in dynamic_domains_SUITE
{username, <<"alice">>},
{server, <<"example.com">>},
Expand Down
2 changes: 1 addition & 1 deletion rel/mim2.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
{service_port, 8899}.

{hosts, "\"localhost\", \"anonymous.localhost\", \"localhost.bis\""}.
{host_types, "\"test type\", \"dummy auth\""}.
{default_server_domain, "\"localhost\""}.
{s2s_addr, "[[s2s.address]]
host = \"localhost2\"
Expand Down Expand Up @@ -52,7 +53,6 @@
{c2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.
{s2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.

{host_types, "\"dummy auth\""}.
{host_config,
"[[host_config]]
host_type = \"dummy auth\"
Expand Down

0 comments on commit fb0b90a

Please sign in to comment.