-
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
Prepare tests for config defaults #3408
Conversation
This way defaults can be introduced and mandatory options don't need to be removed.
This is not necessary anymore.
As options are now compared for presence, this code is called in more places, exposing the issue with service comparison. The special case of mod_extdisco was also moved to a more appropriate place, where it works correctly if there are other modules than mod_extdisco itself.
Remove explicit references to the local_config record. Also: remove the extra Host argument which cluttered module tests.
small_tests_24 / small_tests / 1657a6b internal_mnesia_24 / internal_mnesia / 1657a6b small_tests_23 / small_tests / 1657a6b dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 1657a6b sm_SUITE:parallel_manual_ack_freq_1:resume_session_state_send_message{error,
{{assertion_failed,assert_many,true,
[#Fun<sm_SUITE.22.149602>,#Fun<sm_SUITE.22.149602>,
#Fun<sm_SUITE.22.149602>],
[{xmlel,<<"presence">>,
[{<<"from">>,
<<"alicE_resume_session_state_send_message_60.927775@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alice_resume_session_state_send_message_60.927775@domain.example.com/escalus-default-resource">>},
{<<"xml:lang">>,<<"en">>}],
[]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"bOb_resume_session_state_send_message_60.852658@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alicE_resume_session_state_send_message_60.927775@domain.example.com">>},
{<<"xml:lang">>,<<"en">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"msg-1">>}]},
{xmlel,<<"delay">>,
[{<<"xmlns">>,<<"urn:xmpp:delay">>},
{<<"stamp">>,<<"2021-11-19T12:44:21.000869Z">>},
{<<"from">>,<<"domain.example.com">>}],
[{xmlcdata,<<"SM Storage">>}]}]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"bOb_resume_session_state_send_message_60.852658@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alicE_resume_session_state_send_message_60.927775@domain.example.com">>},
{<<"xml:lang">>,<<"en">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"msg-2">>}]},
... sm_SUITE:parallel_manual_ack_freq_1:resume_session_state_send_message{error,
{{assertion_failed,assert_many,true,
[#Fun<sm_SUITE.22.149602>,#Fun<sm_SUITE.22.149602>,
#Fun<sm_SUITE.22.149602>],
[{xmlel,<<"presence">>,
[{<<"from">>,
<<"alicE_resume_session_state_send_message_67.178917@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alice_resume_session_state_send_message_67.178917@domain.example.com/escalus-default-resource">>},
{<<"xml:lang">>,<<"en">>}],
[]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"bOb_resume_session_state_send_message_67.117384@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alicE_resume_session_state_send_message_67.178917@domain.example.com">>},
{<<"xml:lang">>,<<"en">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"msg-1">>}]},
{xmlel,<<"delay">>,
[{<<"xmlns">>,<<"urn:xmpp:delay">>},
{<<"stamp">>,<<"2021-11-19T12:44:27.244626Z">>},
{<<"from">>,<<"domain.example.com">>}],
[{xmlcdata,<<"SM Storage">>}]}]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"bOb_resume_session_state_send_message_67.117384@domain.example.com/escalus-default-resource">>},
{<<"to">>,
<<"alicE_resume_session_state_send_message_67.178917@domain.example.com">>},
{<<"xml:lang">>,<<"en">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"msg-2">>}]},
... sm_SUITE:parallel_manual_ack_freq_1:resume_session_state_stop_c2s{error,{thrown,{timeout,msg}}} dynamic_domains_mysql_redis_24 / mysql_redis / 1657a6b dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 1657a6b ldap_mnesia_24 / ldap_mnesia / 1657a6b dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 1657a6b ldap_mnesia_23 / ldap_mnesia / 1657a6b sm_SUITE:parallel:messages_are_properly_flushed_during_resumption{error,
{{badmatch,
{error,
{connection_step_failed,
{#Fun<sm_SUITE.11.80356403>,
{client,
<<"alicE_messages_are_properly_flushed_during_resumption_15.610640@localhost">>,
escalus_tcp,<0.19035.1>,undefined,
[{username,
<<"alicE_messages_are_properly_flushed_during_resumption_15.610640">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_management,true},
{host,<<"localhost">>},
{stream_id,<<"a3d2da20b8bd0d69">>}]},
[{compression,[<<"zlib">>]},
{starttls,true},
{stream_management,true},
{advanced_message_processing,true},
{client_state_indication,false},
{sasl_mechanisms,[<<"PLAIN">>]},
{caps,undefined}]},
{timeout,get_resumed}}}},
[{sm_SUITE,'-messages_are_properly_flushed_during_resumption/1-fun-1-',
3,
[{file,"/home/circleci/app/big_tests/tests/sm_SUITE.erl"},
{line,1226}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1293}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1225}]}]}} elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 1657a6b mysql_redis_24 / mysql_redis / 1657a6b service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join{error,{test_case_failed,{[<<"example1.com">>],
[<<"example1.com">>,<<"example2.com">>]}}} pgsql_mnesia_24 / pgsql_mnesia / 1657a6b pgsql_mnesia_23 / pgsql_mnesia / 1657a6b mssql_mnesia_24 / odbc_mssql_mnesia / 1657a6b carboncopy_SUITE:all:unavailable_resources_dont_get_carbons{error,{{assertion_failed,assert_many,false,[is_presence,is_presence],[],[]},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{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}]}]}} carboncopy_SUITE:all:prop_normal_routing_to_bare_jid{error,
{{assertEqual,
[{module,carboncopy_SUITE},
{line,278},
{expression,
"proper : quickcheck ( proper : conjunction ( [ { PropName , Property } ] ) , [ verbose , long_result , { numtests , 3 } ] )"},
{expected,true},
{value,
[[{normal_routing,
[{5,<<"Now, fair Hippolyta, our nuptial hour">>}]}]]}]},
[{carboncopy_SUITE,run_prop,2,
[{file,"/home/circleci/app/big_tests/tests/carboncopy_SUITE.erl"},
{line,278}]},
{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}]}]}} carboncopy_SUITE:all:prop_forward_sent_chat_messages{error,
{{assertEqual,
[{module,carboncopy_SUITE},
{line,278},
{expression,
"proper : quickcheck ( proper : conjunction ( [ { PropName , Property } ] ) , [ verbose , long_result , { numtests , 3 } ] )"},
{expected,true},
{value,
[[{forward_sent,
[{3,<<"Long withering out a young man revenue.">>}]}]]}]},
[{carboncopy_SUITE,run_prop,2,
[{file,"/home/circleci/app/big_tests/tests/carboncopy_SUITE.erl"},
{line,278}]},
{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}]}]}} riak_mnesia_24 / riak_mnesia / 1657a6b mod_ping_SUITE:server_ping:server_ping_pong{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response],
{expected_diff,5},
{before_story,0},
{after_story,4}}]},
[{escalus_mongooseim,post_story_check_metrics,1,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
{line,74}]},
{escalus_mongooseim,maybe_check_metrics_post_story,1,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
{line,51}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,75}]},
{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}]}]}} |
Codecov Report
@@ Coverage Diff @@
## master #3408 +/- ##
==========================================
+ Coverage 79.23% 80.90% +1.66%
==========================================
Files 414 414
Lines 32301 32301
==========================================
+ Hits 25595 26133 +538
+ Misses 6706 6168 -538
Continue to review full report at Codecov.
|
1c53187
to
6c830be
Compare
small_tests_24 / small_tests / 6203ce0 internal_mnesia_24 / internal_mnesia / 6203ce0 |
small_tests_24 / small_tests / 1c53187 internal_mnesia_24 / internal_mnesia / 1c53187 |
small_tests_24 / small_tests / 6c830be internal_mnesia_24 / internal_mnesia / 6c830be small_tests_23 / small_tests / 6c830be dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 6c830be dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 6c830be service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join{error,{test_case_failed,{[<<"example1.com">>,<<"example2.com">>,
<<"example3.com">>],
[<<"example1.com">>,<<"example2.com">>,
<<"example3.com">>,<<"example4.com">>]}}} ldap_mnesia_24 / ldap_mnesia / 6c830be dynamic_domains_mysql_redis_24 / mysql_redis / 6c830be dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 6c830be ldap_mnesia_23 / ldap_mnesia / 6c830be pgsql_mnesia_24 / pgsql_mnesia / 6c830be elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 6c830be mysql_redis_24 / mysql_redis / 6c830be sm_SUITE:parallel_manual_ack_freq_1:resume_session_state_stop_c2s{error,{thrown,{timeout,msg}}} pgsql_mnesia_23 / pgsql_mnesia / 6c830be mssql_mnesia_24 / odbc_mssql_mnesia / 6c830be domain_removal_SUITE:last_removal:last_removal{error,{{assertion_failed,assert,is_last_result,
{xmlel,<<"presence">>,
[{<<"from">>,
<<"alicE_last_removal_19.203598@localhost/friendly">>},
{<<"to">>,
<<"alice_last_removal_19.203598@localhost/res1">>},
{<<"type">>,<<"unavailable">>}],
[]},
"<presence from='alicE_last_removal_19.203598@localhost/friendly' to='alice_last_removal_19.203598@localhost/res1' type='unavailable'/>"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{domain_removal_SUITE,'-last_removal/1-fun-0-',2,
[{file,"/home/circleci/app/big_tests/tests/domain_removal_SUITE.erl"},
{line,376}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{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}]}]}} riak_mnesia_24 / riak_mnesia / 6c830be mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_sent_event{error,
{{assertReceivedMatch_failed,
[{module,mod_event_pusher_rabbit_SUITE},
{line,354},
{expected,
"{ # 'basic.deliver' { routing_key = BobGroupChatMsgSentRK } , # amqp_msg { } }"},
{value,timeout}]},
[{mod_event_pusher_rabbit_SUITE,
'-group_chat_message_sent_event/1-fun-1-',2,
[{file,
"/home/circleci/app/big_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
{line,354}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{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_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_sent_event_properly_formatted{error,{test_case_failed,[84,105,109,101,111,117,116,32,119,104,101,110,32,
100,101,99,111,100,105,110,103,32,109,101,115,115,
97,103,101,44,32,114,107,61,
[60,60,
"\"bob_unnamed_65.227349@localhost.custom_group_chat_msg_sent_topic\"",
62,62]]}} mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_received_event{error,
{{assertReceivedMatch_failed,
[{module,mod_event_pusher_rabbit_SUITE},
{line,380},
{expected,
"{ # 'basic.deliver' { routing_key = AliceGroupChatMsgRecvRK } , # amqp_msg { } }"},
{value,timeout}]},
[{mod_event_pusher_rabbit_SUITE,
'-group_chat_message_received_event/1-fun-1-',3,
[{file,
"/home/circleci/app/big_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
{line,380}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{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_event_pusher_http_SUITE:with_prefix:simple_message_no_listener{error,{thrown,{timeout,stream_end}}} mod_event_pusher_http_SUITE:with_prefix:simple_message_no_listener{error,{thrown,{timeout,stream_end}}} 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_3.762152@localhost/res1">>,
escalus_tcp,<0.24960.0>,
[{event_manager,<0.24956.0>},
{server,<<"localhost">>},
{username,<<"alicE_test_component_disconnect_3.762152">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.24956.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_component_disconnect_3.762152">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE_test_component_disconnect_3.762152">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_test_component_disconnect_3.762152">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"cba0ab672f17713c">>}]},
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,598}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_... 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_19.506022@localhost/res1">>,
escalus_tcp,<0.25142.0>,
[{event_manager,<0.25138.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_19.506022">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.25138.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_19.506022">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_19.506022">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_19.506022">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"900ec9b4883ca6c2">>}]},
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_38.657829@localhost/res1">>,
escalus_tcp,<0.25549.0>,
[{event_manager,<0.25544.0>},
{server,<<"localhost">>},
{username,<<"eve_test_update_senders_host_38.657829">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.25544.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_update_senders_host_38.657829">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"eve_test_update_senders_host_38.657829">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"eve_test_update_senders_host_38.657829">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"1f5a4ac2f9ffb86b">>}]},
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,882}]},
{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_94.963154@localhost/res1">>,
escalus_tcp,<0.25971.0>,
[{event_manager,<0.25967.0>},
{server,<<"localhost">>},
{username,<<"alicE_test_component_disconnect_94.963154">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.25967.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_component_disconnect_94.963154">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE_test_component_disconnect_94.963154">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_test_component_disconnect_94.963154">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"767d2f5fd953262b">>}]},
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,598}]},
{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,547}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]}]}} 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.966189@localhost/res1">>,
escalus_tcp,<0.26134.0>,
[{event_manager,<0.26130.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.966189">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.26130.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.966189">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.966189">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_31.966189">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"c09cb9e280384928">>}]},
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_55.116913@localhost/res1">>,
escalus_tcp,<0.26566.0>,
[{event_manager,<0.26561.0>},
{server,<<"localhost">>},
{username,<<"eve_test_update_senders_host_55.116913">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.26561.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_update_senders_host_55.116913">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"eve_test_update_senders_host_55.116913">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"eve_test_update_senders_host_55.116913">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"a59c28bc6ac71e56">>}]},
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,882}]},
{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_20.189206@localhost/res1">>,
escalus_tcp,<0.26987.0>,
[{event_manager,<0.26983.0>},
{server,<<"localhost">>},
{username,<<"alicE_test_component_disconnect_20.189206">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.26983.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_component_disconnect_20.189206">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE_test_component_disconnect_20.189206">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_test_component_disconnect_20.189206">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"629e8aec73f95e67">>}]},
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,598}]},
{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,547}]},
{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.27096.0>,undefined,
[{sid,<<"fa0e10944a249c19">>},
{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,563}]},
{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_57.390170@localhost/res1">>,
escalus_tcp,<0.27152.0>,
[{event_manager,<0.27148.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_57.390170">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.27148.0>},
{server,<<"localhost">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_57.390170">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_57.390170">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_test_pm_with_disconnection_on_other_server_57.390170">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"3bbf1f097b1c6214">>}]},
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_75.481894@localhost/res1">>,
escalus_tcp,<0.27583.0>,
[{event_manager,<0.27578.0>},
{server,<<"localhost">>},
{username,<<"eve_test_update_senders_host_75.481894">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.27578.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_update_senders_host_75.481894">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"eve_test_update_senders_host_75.481894">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"eve_test_update_senders_host_75.481894">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"be8663a73713ca8a">>}]},
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,882}]},
{escalus_story,story,4,
[{file,
"/home/circl... 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_87.684155@localhost/res1">>,
escalus_tcp,<0.28370.0>,
[{event_manager,<0.28365.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_87.684155">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.28365.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_87.684155">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_87.684155">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_87.684155">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"52ec39fd0067e88b">>}]},
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_96.161769@localhost/res1">>,
escalus_tcp,<0.28930.0>,
[{event_manager,<0.28925.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_96.161769">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.28925.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_96.161769">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_96.161769">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_96.161769">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"cead7158eb174dba">>}]},
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_12.901266@localhost/res1">>,
escalus_tcp,<0.29755.0>,
[{event_manager,<0.29750.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_12.901266">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.29750.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_12.901266">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_messages_bounced_in_order_12.901266">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_messages_bounced_in_order_12.901266">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"5cd0d48fe3db88d4">>}]},
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_24.671955@localhost/res1">>,
escalus_tcp,<0.31771.0>,
[{event_manager,<0.31766.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_24.671955">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.31766.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_24.671955">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_24.671955">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_24.671955">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"9359acfbccfabe91">>}]},
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_47.322619@localhost/res1">>,
escalus_tcp,<0.32330.0>,
[{event_manager,<0.32325.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_47.322619">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32325.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_47.322619">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_47.322619">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_47.322619">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"5d07acf2fa650725">>}]},
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_53.250273@localhost/res1">>,
escalus_tcp,<0.32634.0>,
[{event_manager,<0.32629.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_53.250273">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32629.0>},
{server,<<"localhost">>},
{username,
<<"eve_test_messages_bounced_in_order_53.250273">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_messages_bounced_in_order_53.250273">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_messages_bounced_in_order_53.250273">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"2b135da1d7e36434">>}]},
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_75.23796@localhost/res1">>,
escalus_tcp,<0.792.1>,
[{event_manager,<0.787.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_75.23796">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.787.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_75.23796">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_75.23796">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_75.23796">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"785d567193a4853c">>}]},
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,
[{f... 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_83.117146@localhost/res1">>,
escalus_tcp,<0.1022.1>,
[{event_manager,<0.1017.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_83.117146">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.1017.1>},
{server,<<"localhost">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_83.117146">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_83.117146">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5252},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"eve_test_in_order_messages_on_multiple_connections_with_bounce_83.117146">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252},
{stream_id,<<"e17ae3b62333a8cc">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{mod_global_distrib_SUITE,
'-te... 435 errors were truncated |
- ejabberd_s2s_in expects a domain name (binary) - ejabberd_c2s expects a host type (binary) The current state is inconsistent, but string made this option unusable. Note: dialyzer found this one after adding type specs to config_parser_SUITE
6c830be
to
5f81c06
Compare
small_tests_24 / small_tests / 5f81c06 internal_mnesia_24 / internal_mnesia / 5f81c06 small_tests_23 / small_tests / 5f81c06 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 5f81c06 dynamic_domains_mysql_redis_24 / mysql_redis / 5f81c06 ldap_mnesia_24 / ldap_mnesia / 5f81c06 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 5f81c06 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 5f81c06 ldap_mnesia_23 / ldap_mnesia / 5f81c06 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 5f81c06 pgsql_mnesia_24 / pgsql_mnesia / 5f81c06 pgsql_mnesia_23 / pgsql_mnesia / 5f81c06 mysql_redis_24 / mysql_redis / 5f81c06 mam_SUITE:rdbms_async_pool_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} mssql_mnesia_24 / odbc_mssql_mnesia / 5f81c06 mongooseimctl_SUITE:stats:stats_global{error,{{badmatch,{"5\n",0}},
[{mongooseimctl_SUITE,'-stats_global/1-fun-0-',3,
[{file,"/home/circleci/app/big_tests/tests/mongooseimctl_SUITE.erl"},
{line,1057}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{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}]}]}} riak_mnesia_24 / riak_mnesia / 5f81c06 mssql_mnesia_24 / odbc_mssql_mnesia / 5f81c06 pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription{error,
{{badmatch,
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_unsubscribe_after_presence_unsubscription_11.407395@localhost">>},
{<<"to">>,
<<"bob_unsubscribe_after_presence_unsubscription_11.407395@localhost/res1">>},
{<<"type">>,<<"headline">>}],
[{xmlel,<<"event">>,
[{<<"xmlns">>,
<<"http://jabber.org/protocol/pubsub#event">>}],
[{xmlel,<<"items">>,
[{<<"node">>,<<"FxXY8SdwULMPQdQYeY94RA==">>}],
[{xmlel,<<"item">>,
[{<<"id">>,<<"salmon">>}],
[{xmlel,<<"entry">>,
[{<<"xmlns">>,
<<"http://www.w3.org/2005/Atom">>}],
[]}]}]}]},
{xmlel,<<"headers">>,
[{<<"xmlns">>,<<"http://jabber.org/protocol/shim">>}],
[]}]}]},
[{pep_SUITE,'-unsubscribe_after_presence_unsubscription/1-fun-0-',2,
[{file,"/home/circleci/app/big_tests/tests/pep_SUITE.erl"},
{line,384}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{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}]}]}} service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join{error,{test_case_failed,{[<<"example1.com">>],
[<<"example1.com">>,<<"example2.com">>]}}} service_domain_db_SUITE:db:rest_with_auth:rest_delete_domain_cleans_data_from_mam{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"bob_rest_delete_domain_cleans_data_from_mam_46.358195@example.org/res1">>,
escalus_tcp,<0.19042.2>,
[{event_manager,<0.19036.2>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_46.358195">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.19036.2>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_46.358195">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_46.358195">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{port,5232},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_46.358195">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{password,<<"makota3">>},
{port,5232},
{stream_id,<<"2b207664c19200f0">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5... service_domain_db_SUITE:db:rest_without_auth:rest_delete_domain_cleans_data_from_mam{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"bob_rest_delete_domain_cleans_data_from_mam_55.44932@example.org/res1">>,
escalus_tcp,<0.19679.2>,
[{event_manager,<0.19673.2>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_55.44932">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.19673.2>},
{server,<<"example.org">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_55.44932">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_55.44932">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{port,5232},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"bob_rest_delete_domain_cleans_data_from_mam_55.44932">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{password,<<"makota3">>},
{port,5232},
{stream_id,<<"0a220434310fa017">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{service_domain_db_SUITE,
'-rest_delete_domain_cleans_data_from_mam/1-fun-0-',5,
... mssql_mnesia_24 / odbc_mssql_mnesia / 5f81c06 pep_SUITE:pep_tests:publish_and_notify_test{error,
{{assertion_failed,assert_many,false,
[is_roster_set,is_presence,is_presence],
[{xmlel,<<"presence">>,
[{<<"from">>,
<<"bOb_publish_and_notify_test_19.881547@localhost/res1">>},
{<<"to">>,
<<"alice_publish_and_notify_test_19.881547@localhost/res1">>},
{<<"xml:lang">>,<<"en">>}],
[{xmlel,<<"c">>,
[{<<"xmlns">>,<<"http://jabber.org/protocol/caps">>},
{<<"hash">>,<<"sha-1">>},
{<<"node">>,<<"http://www.chatopus.com">>},
{<<"ver">>,<<"yrEEgQ2hHJ34eShqj2w5O0Fh3ic=">>}],
[]}]}],
" <presence from='bOb_publish_and_notify_test_19.881547@localhost/res1' to='alice_publish_and_notify_test_19.881547@localhost/res1' xml:lang='en'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='yrEEgQ2hHJ34eShqj2w5O0Fh3ic='/></presence>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{escalus_story,'-make_all_clients_friends/1-fun-0-',2,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,114}]},
{escalus_utils,'-each_with_index/3-fun-0-',3,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
{line,87}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{escalus_utils,'-each_... |
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 to me :)
The goal of this PR is to make config parser test cases independent of:
local_config
records.This is achieved by introducing a new macro
cfg
that checks only the value of the tested options instead of comparing the complete config lists. Regarding the possible presence of unwanted options, this is still checked by the file tests, which parse complete predefined TOML files and compare the contents against the expected option list.An interesting fact is that the updated test suite executes much faster on my machine. I broke a few randomly chosen tests on purpose to sanity-check it and it looks that everything works properly, just faster.
Running dialyzer for the test suite after introducing type specs revealed an issue with
domain_certfile
- this is fixed. However, the option itself needs some rework - there is a JIRA ticket for it and I think it could be prioritized a bit higher.The follow-up to this PR will introduce config defaults - it will be much easier after merging this one.