Skip to content

Commit

Permalink
Ensure mod_presence is enabled by default for more host types
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Dec 28, 2022
1 parent 26f10e9 commit 09a4672
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
4 changes: 1 addition & 3 deletions big_tests/default.spec
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@
{suites, "tests", websockets_SUITE}.
{suites, "tests", xep_0352_csi_SUITE}.
{suites, "tests", service_domain_db_SUITE}.
{skip_cases, "tests", service_domain_db_SUITE,
[rest_delete_domain_cleans_data_from_mam], "this test tries to use presences"}.
{suites, "tests", domain_isolation_SUITE}.
{suites, "tests", domain_removal_SUITE}.
% {suites, "tests", dynamic_domains_SUITE}.
{suites, "tests", dynamic_domains_SUITE}.
{suites, "tests", local_iq_SUITE}.
% {suites, "tests", tcp_listener_SUITE}.

Expand Down
4 changes: 1 addition & 3 deletions big_tests/dynamic_domains.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

{suites, "tests", domain_isolation_SUITE}.

% {suites, "tests", dynamic_domains_SUITE}.
{suites, "tests", dynamic_domains_SUITE}.

{suites, "tests", extdisco_SUITE}.

Expand Down Expand Up @@ -140,8 +140,6 @@
% {suites, "tests", sasl_external_SUITE}.

{suites, "tests", service_domain_db_SUITE}.
{skip_cases, "tests", service_domain_db_SUITE,
[rest_delete_domain_cleans_data_from_mam], "this test tries to use presences"}.

{suites, "tests", service_mongoose_system_metrics_SUITE}.
{skip_cases, "tests", service_mongoose_system_metrics_SUITE,
Expand Down
1 change: 1 addition & 0 deletions big_tests/tests/mim_c2s_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ init_per_suite(Config) ->
{start_ready_clients, fun ?MODULE:escalus_start/2}],
Config1 = save_c2s_listener(Config),
Config2 = dynamic_modules:save_modules(HostType, Config1),
dynamic_modules:ensure_stopped(HostType, [mod_presence]),
Config3 = escalus_users:update_userspec(Config2, alice, connection_steps, Steps),
Config4 = escalus_users:update_userspec(Config3, bob, connection_steps, Steps),
configure_c2s_listener(Config4, #{backwards_compatible_session => false, max_stanza_size => 1024}),
Expand Down
2 changes: 1 addition & 1 deletion rel/mim1.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

[[host_config]]
host_type = \"dummy auth\"
modules = { }
[host_config.modules.mod_presence]

[host_config.auth.dummy]
base_time = 1
Expand Down
4 changes: 2 additions & 2 deletions rel/mim2.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
{host_config,
"[[host_config]]
host_type = \"dummy auth\"
modules = { }
auth.dummy = { }"}.
[host_config.modules.mod_presence]
[host_config.auth.dummy]"}.

%% Include common vars shared by all profiles
"./vars-toml.config".

0 comments on commit 09a4672

Please sign in to comment.