-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make pool_name configurable for service_domain_db #3205
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3205 +/- ##
==========================================
- Coverage 80.29% 80.26% -0.03%
==========================================
Files 397 397
Lines 32473 32474 +1
==========================================
- Hits 26073 26065 -8
- Misses 6400 6409 +9
Continue to review full report at Codecov.
|
2b251e9
to
f856c17
Compare
small_tests_24 / small_tests / f856c17 internal_mnesia_24 / internal_mnesia / f856c17 small_tests_22 / small_tests / f856c17 dynamic_domains_23 / pgsql_mnesia / f856c17 dynamic_domains_24 / pgsql_mnesia / f856c17 small_tests_23 / small_tests / f856c17 ldap_mnesia_23 / ldap_mnesia / f856c17 ldap_mnesia_24 / ldap_mnesia / f856c17 ldap_mnesia_22 / ldap_mnesia / f856c17 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / f856c17 pgsql_mnesia_22 / pgsql_mnesia / f856c17 mysql_redis_24 / mysql_redis / f856c17 mam_SUITE:rdbms_async_pool_prefs_cases:messages_filtered_when_prefs_default_policy_is_never{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} pgsql_mnesia_24 / pgsql_mnesia / f856c17 pgsql_mnesia_23 / pgsql_mnesia / f856c17 mssql_mnesia_24 / odbc_mssql_mnesia / f856c17 riak_mnesia_24 / riak_mnesia / f856c17 jingle_SUITE:all:jingle_session_is_established_when_calling_a_number{error,
{{assertion_failed,assert,is_iq_result,
{xmlel,<<"iq">>,
[{<<"from">>,<<"[email protected]">>},
{<<"to">>,
<<"alice_jingle_session_is_established_when_calling_a_number_61.93034@localhost/res1">>},
{<<"id">>,<<"5e588e89-50be-4f72-8bb6-f2e9f268c25d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"jingle">>,
[{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
{<<"action">>,<<"session-info">>},
{<<"sid">>,<<"f323288f-3356-455f-9fa8-d5dc991b03af">>}],
[{xmlel,<<"ringing">>,
[{<<"xmlns">>,<<"urn:xmpp:jingle:apps:rtp:info:1">>}],
[]}]}]},
"<iq from='[email protected]' to='alice_jingle_session_is_established_when_calling_a_number_61.93034@localhost/res1' id='5e588e89-50be-4f72-8bb6-f2e9f268c25d' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-info' sid='f323288f-3356-455f-9fa8-d5dc991b03af'><ringing xmlns='urn:xmpp:jingle:apps:rtp:info:1'/></jingle></iq>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{jingle_SUITE,send_initiate_and_wait_for_first_iq_set,2,
[{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
{line,393}]},
{jingle_SUITE,
'-jingle_session_is_established_when_calling_a_number/1-fun-0-',1,
[{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
{line,... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR fixes the bug, but I think that the docs are difficult to understand for the user, see details in the comment.
### `pool_name` | ||
|
||
Pool name to use for a database connection. | ||
|
||
* **Syntax:** atom | ||
* **Default:** `global` | ||
* **Example:** `pool_name = "global"` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem with this is that we don't have such thing as a "pool name". In the code it has the type host_type_or_global()
, so I would suggest something like the following:
### `pool_name` | |
Pool name to use for a database connection. | |
* **Syntax:** atom | |
* **Default:** `global` | |
* **Example:** `pool_name = "global"` | |
### `db_pool` | |
By default, this service uses the RDBMS connection pool configured with the scope `"global"`. | |
You can put a specific host type there to use the pool with the `"host"` or `"single_host"`scope for that particular host type. See [PUT A LINK HERE] for more information about pool scopes. | |
* **Syntax:** string | |
* **Default:** `global` | |
* **Example:** `db_pool = "my_host_type"` |
The goal here is to make the user aware of what this name means and how to set up the corresponding pool.
small_tests_24 / small_tests / 7da39d8 internal_mnesia_24 / internal_mnesia / 7da39d8 small_tests_22 / small_tests / 7da39d8 dynamic_domains_24 / pgsql_mnesia / 7da39d8 dynamic_domains_23 / pgsql_mnesia / 7da39d8 small_tests_23 / small_tests / 7da39d8 ldap_mnesia_22 / ldap_mnesia / 7da39d8 ldap_mnesia_23 / ldap_mnesia / 7da39d8 ldap_mnesia_24 / ldap_mnesia / 7da39d8 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 7da39d8 mysql_redis_24 / mysql_redis / 7da39d8 mam_SUITE:rdbms_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} mam_SUITE:rdbms_simple_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} pgsql_mnesia_22 / pgsql_mnesia / 7da39d8 pgsql_mnesia_23 / pgsql_mnesia / 7da39d8 mssql_mnesia_24 / odbc_mssql_mnesia / 7da39d8 riak_mnesia_24 / riak_mnesia / 7da39d8 pgsql_mnesia_24 / pgsql_mnesia / 7da39d8 mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alicE_test_component_disconnect_20.862412@localhost/res1">>,
escalus_tcp,<0.14772.1>,
[{event_manager,<0.14768.1>},
{server,<<"localhost">>},
{username,<<"alicE_test_component_disconnect_20.862412">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.14768.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_component_disconnect_20.862412">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE_test_component_disconnect_20.862412">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_test_component_disconnect_20.862412">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"ad85f06f60d6ae05">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,609}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app... mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alicE_test_pm_with_disconnection_on_other_server_36.668397@localhost/res1">>,
escalus_tcp,<0.14960.1>,
[{event_manager,<0.14956.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_36.668397">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.14956.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_36.668397">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_36.668397">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_36.668397">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"b6d93b2859f2f9c7">>}]},
15000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
[{file,
"/home/cir... mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_ungraceful_reconnection_to_different_server_with_asia_refreshes_first{error,{{badmatch,0},
[{escalus_story,drop_presences,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,191}]},
{escalus_story,'-start_ready_clients/2-fun-0-',3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,135}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{escalus_story,start_ready_clients,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,128}]},
{lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,69}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]}]}} mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_update_senders_host_73.874613@localhost/res1">>,
escalus_tcp,<0.15311.1>,
[{event_manager,<0.15306.1>},
{server,<<"localhost">>},
{username,<<"eve_test_update_senders_host_73.874613">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.15306.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_update_senders_host_73.874613">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"eve_test_update_senders_host_73.874613">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"eve_test_update_senders_host_73.874613">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"80f833b00870d0e8">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,893}]},
{escalus_story,story,4,
[{file,
"/home/circl... mod_global_distrib_SUITE:mod_global_distrib:test_global_disco{error,{{badmatch,0},
[{escalus_story,drop_presences,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,191}]},
{escalus_story,'-start_ready_clients/2-fun-0-',3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,135}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{escalus_story,start_ready_clients,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,128}]},
{lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,69}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]}]}} mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alicE_test_component_disconnect_15.902312@localhost/res1">>,
escalus_tcp,<0.15732.1>,
[{event_manager,<0.15728.1>},
{server,<<"localhost">>},
{username,<<"alicE_test_component_disconnect_15.902312">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.15728.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_component_disconnect_15.902312">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE_test_component_disconnect_15.902312">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_test_component_disconnect_15.902312">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"aa135d00d5ee7a72">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,609}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app... mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alicE_test_pm_with_disconnection_on_other_server_31.767610@localhost/res1">>,
escalus_tcp,<0.15913.1>,
[{event_manager,<0.15909.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.767610">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.15909.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.767610">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.767610">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.767610">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"7b3c9351b4021ee9">>}]},
15000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
[{file,
"/home/cir... mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_update_senders_host_58.173721@localhost/res1">>,
escalus_tcp,<0.16422.1>,
[{event_manager,<0.16417.1>},
{server,<<"localhost">>},
{username,<<"eve_test_update_senders_host_58.173721">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.16417.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_update_senders_host_58.173721">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"eve_test_update_senders_host_58.173721">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"eve_test_update_senders_host_58.173721">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"1dd685a56805956c">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,893}]},
{escalus_story,story,4,
[{file,
"/home/circl... mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alicE_test_component_disconnect_16.376493@localhost/res1">>,
escalus_tcp,<0.16841.1>,
[{event_manager,<0.16837.1>},
{server,<<"localhost">>},
{username,<<"alicE_test_component_disconnect_16.376493">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.16837.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_component_disconnect_16.376493">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE_test_component_disconnect_16.376493">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_test_component_disconnect_16.376493">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"eda0ea06e14ed001">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,609}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app... mod_global_distrib_SUITE:mod_global_distrib:test_component_on_one_host{error,
{{badmatch,0},
[{escalus_story,drop_presences,2,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,191}]},
{escalus_story,'-start_ready_clients/2-fun-0-',3,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,135}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{escalus_story,start_ready_clients,2,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,128}]},
{lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,69}]},
{mod_global_distrib_SUITE,'-test_component_on_one_host/1-lc$^1/1-0-',3,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,558}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]}]}} mod_global_distrib_SUITE:mod_global_distrib:test_components_in_different_regions{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,undefined,escalus_tcp,<0.16949.1>,undefined,
[{sid,<<"b542ab563872ff72">>},
{port,9990},
{component,<<"service2">>},
{host,<<"localhost">>},
{password,<<"secret">>},
{server,<<"localhost">>},
{component,<<"test_service">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,test_components_in_different_regions,1,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,574}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alicE_test_pm_with_disconnection_on_other_server_56.92004@localhost/res1">>,
escalus_tcp,<0.17005.1>,
[{event_manager,<0.17001.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_56.92004">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.17001.1>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_56.92004">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_56.92004">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_56.92004">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"11c8fd132de1168a">>}]},
15000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
[{file,
"/home/circleci... mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_update_senders_host_75.836038@localhost/res1">>,
escalus_tcp,<0.17687.1>,
[{event_manager,<0.17682.1>},
{server,<<"localhost">>},
{username,<<"eve_test_update_senders_host_75.836038">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.17682.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_update_senders_host_75.836038">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"eve_test_update_senders_host_75.836038">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"eve_test_update_senders_host_75.836038">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"aeaff1b9e8998f70">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,893}]},
{escalus_story,story,4,
[{file,
"/home/circl... mod_global_distrib_SUITE:start_checks:end_per_group{error,
{{unregistering_failed,
{amount,45},
{unregistered_items,
[{{<<"_unnamed_55.605458">>,
[{watchdog,<0.16063.1>},
{nodes_key,<<"localhost.bis#{nodes}">>},
{escalus_user_db,xmpp},
{{old_mods,asia_node,<<"localhost">>},
[{mod_bosh,[]},
{mod_roster,[{backend,rdbms}]},
{mod_offline,[{backend,rdbms}]},
{mod_private,[{backend,rdbms}]},
{mod_vcard,[{backend,rdbms},{host,{prefix,<<"vjud.">>}}]},
{mod_last,[{backend,rdbms}]},
{mod_muc_commands,[]},
{mod_privacy,[{backend,rdbms}]},
{mod_blocking,[]},
{mod_adhoc,[]},
{mod_disco,[{users_can_see_hidden_services,false}]},
{mod_sic,[]},
{mod_commands,[]},
{mod_register,
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}]},
{mod_stream_management,[{resume_timeout,1}]},
{mod_cache_users,[]},
{mod_muc_light_commands,[]},
{mod_carboncopy,[]}]},
{{old_mods,asia_node,<<"localhost.bis">>},[]},
{{resume_timeout,asia_node},1},
{{old_mods,europe_node2,<<"localhost">>},
[{mod_bosh,[]},
{mod_roster,[{backend,rdbms}]},
{mod_offline,[{backend,rdbms}]},
{mod_private,[{backend,rdbms}]},
{mod_vcard,[{backend,rdbms},{host,{prefix,<<"vjud.">>}}]},
{mod_last,[{backend,rdbms}]},
{mod_muc_commands,[]},
{mod_privacy,[{backend,rdbms}]},
{mod_blocking,[]},
{mod_adhoc,[]},
{mod_disco,[... mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_in_order_messages_on_multiple_connections_71.989656@localhost/res1">>,
escalus_tcp,<0.18524.1>,
[{event_manager,<0.18519.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_71.989656">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.18519.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_71.989656">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_71.989656">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_71.989656">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"d97a5a96927f0139">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_in_order_messages_on_multiple_connections/1-fun-1-',2,... mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_91.160590@localhost/res1">>,
escalus_tcp,<0.19421.1>,
[{event_manager,<0.19416.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_91.160590">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.19416.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_91.160590">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_91.160590">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_91.160590">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"334e810423b2acd3">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'... mod_global_distrib_SUITE:multi_connection:test_messages_bounced_in_order{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_messages_bounced_in_order_2.601021@localhost/res1">>,
escalus_tcp,<0.20138.1>,
[{event_manager,<0.20133.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_2.601021">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.20133.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_2.601021">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_messages_bounced_in_order_2.601021">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_messages_bounced_in_order_2.601021">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"f808694bd1fac279">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_messages_bounced_in_order/1-fun-2-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
... mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_in_order_messages_on_multiple_connections_20.984549@localhost/res1">>,
escalus_tcp,<0.22240.1>,
[{event_manager,<0.22235.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_20.984549">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.22235.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_20.984549">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_20.984549">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_20.984549">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"af5e829c8a43aaff">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_in_order_messages_on_multiple_connections/1-fun-1-',2,... mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_31.362503@localhost/res1">>,
escalus_tcp,<0.22920.1>,
[{event_manager,<0.22915.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_31.362503">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.22915.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_31.362503">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_31.362503">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_31.362503">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"c2ee949589261a84">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'... mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections{error,{{badmatch,0},
[{escalus_story,drop_presences,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,191}]},
{escalus_story,'-start_ready_clients/2-fun-0-',3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,135}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{escalus_story,start_ready_clients,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,128}]},
{lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,69}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]}]}} mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce{error,{{badmatch,0},
[{escalus_story,drop_presences,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,191}]},
{escalus_story,'-start_ready_clients/2-fun-0-',3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,135}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{escalus_story,start_ready_clients,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,128}]},
{lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,69}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]}]}} mod_global_distrib_SUITE:multi_connection:test_messages_bounced_in_order{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"eve_test_messages_bounced_in_order_86.197924@localhost/res1">>,
escalus_tcp,<0.25093.1>,
[{event_manager,<0.25088.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_86.197924">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.25088.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_86.197924">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_messages_bounced_in_order_86.197924">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_messages_bounced_in_order_86.197924">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"7e1a70ed8219270e">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-test_messages_bounced_in_order/1-fun-2-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
... mod_global_distrib_SUITE:rebalancing:disable_endpoint_on_refresh{error,
{{badrpc,
{'EXIT',
{timeout,
{gen_server,call,
[mod_global_distrib_server_mgr_reg1,force_refresh]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost,timeout => 30000},
mod_global_distrib_server_mgr,force_refresh,
[<<"reg1">>]],
[{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
{line,117}]},
{mongoose_helper,successful_rpc,5,
[{file,"/home/circleci/app/big_tests/tests/mongoose_helper.erl"},
{line,273}]},
{mod_global_distrib_SUITE,trigger_rebalance,2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,1251}]},
{mod_global_distrib_SUITE,enable_extra_endpoint,4,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,1212}]},
{mod_global_distrib_SUITE,disable_endpoint_on_refresh,1,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,964}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} mod_global_distrib_SUITE:rebalancing:closed_connection_is_removed_from_disabled{error,{{get_outgoing_connections,{[],[],[]},
[{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,0,0,1},7777}]},
{[],
[{{127,0,0,1},7777}],
[{{127,... mod_global_distrib_SUITE:rebalancing:wait_for_connection{error,
{{badrpc,
{'EXIT',
{timeout,
{gen_server,call,
[mod_global_distrib_server_mgr_reg1,force_refresh]}}}},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost,timeout => 30000},
mod_global_distrib_server_mgr,force_refresh,
[<<"reg1">>]],
[{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
{line,117}]},
{mongoose_helper,successful_rpc,5,
[{file,"/home/circleci/app/big_tests/tests/mongoose_helper.erl"},
{line,273}]},
{mod_global_distrib_SUITE,trigger_rebalance,2,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,1251}]},
{mod_global_distrib_SUITE,wait_for_connection,1,
[{file,
"/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
{line,1008}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} 94 errors were truncated pgsql_mnesia_24 / pgsql_mnesia / 7da39d8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR addresses MIM-1451
Proposed changes include: