Skip to content

Commit

Permalink
Add shared_roster_SUITE to dynamic_domains spec
Browse files Browse the repository at this point in the history
It needs LDAP, and the preset needs RDMBS to run with the dynamic_domains spec.
  • Loading branch information
gustawlippa committed Feb 23, 2022
1 parent 4123c02 commit c706a4f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,13 @@ executors:
- image: *OTP23
- *redis_container
- *ldap_container
- *pgsql_container
otp_24_ldap_redis:
docker:
- image: *OTP24
- *redis_container
- *ldap_container
- *pgsql_container
otp_24_mssql_redis:
docker:
- image: *OTP24
Expand Down Expand Up @@ -827,7 +829,7 @@ workflows:
executor: otp_23_ldap_redis
context: mongooseim-org
preset: ldap_mnesia
db: "ldap redis"
db: "ldap redis pgsql"
requires:
- otp_23_docker
filters: *all_tags
Expand All @@ -836,7 +838,7 @@ workflows:
executor: otp_24_ldap_redis
context: mongooseim-org
preset: ldap_mnesia
db: "ldap redis"
db: "ldap redis pgsql"
requires:
- otp_24_docker
filters: *all_tags
Expand Down
2 changes: 2 additions & 0 deletions big_tests/dynamic_domains.spec
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
[xmpp_components_are_reported],
"at the moment external components doesn't support dynamic domains"}.

{suites, "tests", shared_roster_SUITE}.

{suites, "tests", sic_SUITE}.

{suites, "tests", sm_SUITE}.
Expand Down
2 changes: 1 addition & 1 deletion big_tests/run_common_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ run_test(Test, PresetsToRun, CoverOpts) ->
end, Presets)
end,
Length = length(Presets1),
Names = preset_names(Presets),
Names = preset_names(Presets1),
error_logger:info_msg("Starting test of ~p configurations: ~n~p~n",
[Length, Names]),
Zip = lists:zip(lists:seq(1, Length), Presets1),
Expand Down
18 changes: 16 additions & 2 deletions big_tests/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,23 @@
host = \"vjud.@HOST@\"\n"},
{mod_roster, " backend = \"rdbms\"\n"}]},
{ldap_mnesia,
[{dbs, [redis, ldap]},
[{dbs, [redis, ldap, pgsql]},
{service_domain_db, ""},
{auth_method, "ldap"},
{outgoing_pools, "[outgoing_pools.redis.global_distrib]
{outgoing_pools, "
[outgoing_pools.rdbms.default]
scope = \"global\"
workers = 5
connection.driver = \"pgsql\"
connection.host = \"localhost\"
connection.database = \"ejabberd\"
connection.username = \"ejabberd\"
connection.password = \"mongooseim_secret\"
connection.tls.required = true
connection.tls.verify_peer = true
connection.tls.cacertfile = \"priv/ssl/cacert.pem\"
connection.tls.server_name_indication = false
[outgoing_pools.redis.global_distrib]
scope = \"global\"
workers = 10
[outgoing_pools.ldap.default]
Expand Down

0 comments on commit c706a4f

Please sign in to comment.