-
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
c2s/features optimisations #4094
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #4094 +/- ##
==========================================
+ Coverage 83.84% 83.85% +0.01%
==========================================
Files 551 551
Lines 33557 33567 +10
==========================================
+ Hits 28135 28149 +14
+ Misses 5422 5418 -4
☔ View full report in Codecov by Sentry. |
af35176
to
0c0ab93
Compare
This comment was marked as outdated.
This comment was marked as outdated.
0c0ab93
to
0799c14
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Unify parameters in c2s_stanzas around auth
0799c14
to
c8a7703
Compare
This comment was marked as outdated.
This comment was marked as outdated.
c8a7703
to
73bda74
Compare
small_tests_24 / small_tests / 73bda74 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 73bda74 small_tests_25_arm64 / small_tests / 73bda74 small_tests_25 / small_tests / 73bda74 ldap_mnesia_24 / ldap_mnesia / 73bda74 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 73bda74 mam_SUITE:rdbms_async_pool_muc_all:muc06:muc_message_with_stanzaid{failed,
{mam_SUITE,end_per_testcase,
{'EXIT',
{{room_archive_size,0,[{times,200,1}],ok},
[{mongoose_helper,do_wait_until,2,
[{file,
"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,358}]},
{mam_helper,wait_for_room_archive_size,3,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,789}]},
{mam_helper,clean_room_archive,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,733}]},
{mam_helper,destroy_room,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,726}]},
{mam_SUITE,end_per_testcase,2,
[{file,
"/home/circleci/project/big_tests/tests/mam_SUITE.erl"},
{line,954}]},
{test_server,do_end_per_testcase,4,
[{file,"test_server.erl"},{line,1627}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1335}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}}}} dynamic_domains_mysql_redis_25 / mysql_redis / 73bda74 ldap_mnesia_25 / ldap_mnesia / 73bda74 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 73bda74 pgsql_mnesia_24 / pgsql_mnesia / 73bda74 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 73bda74 mam_SUITE:rdbms_mnesia_prefs_cases:run_set_and_get_prefs_cases{error,
{thrown,
{timeout,
[{escalus_connection,receive_stanza,2,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
{line,303}]},
{mam_helper,run_set_and_get_prefs_case,4,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,1277}]},
{mam_SUITE,'-run_set_and_get_prefs_cases/1-lc$^0/1-0-',4,
[{file,
"/home/circleci/project/big_tests/tests/mam_SUITE.erl"},
{line,3000}]},
{escalus_story,story,4,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}}} mam_SUITE:rdbms_mnesia_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,
{{assertion_failed,assert,is_iq_result,
[{xmlel,<<"iq">>,
[{<<"type">>,<<"set">>},
{<<"id">>,<<"9461a9bb2b872efa07868d48f3d71da1">>}],
[{xmlel,<<"prefs">>,
[{<<"xmlns">>,<<"urn:xmpp:mam:1">>},
{<<"default">>,<<"roster">>}],
[{xmlel,<<"always">>,[],[]},{xmlel,<<"never">>,[],[]}]}]}],
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_messages_filtered_when_prefs_default_policy_is_roster_2095@domain.example.com">>},
{<<"to">>,
<<"alice_messages_filtered_when_prefs_default_policy_is_roster_2095@domain.example.com/res1">>},
{<<"id">>,<<"push9c0c71585d62a0fb">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_messages_filtered_when_prefs_default_policy_is_roster_2095@domain.example.com">>}],
[]}]}]},
"<iq from='alice_messages_filtered_when_prefs_default_policy_is_roster_2095@domain.example.com' to='alice_messages_filtered_when_prefs_default_policy_is_roster_2095@domain.example.com/res1' id='push9c0c71585d62a0fb' type='set'><query xmlns='jabber:iq:roster'><item subscription='both' jid='bob_messages_filtered_when_prefs_default_policy_is_roster_2095@domain.example.com'/></query></iq>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/project/big_test... mam_SUITE:rdbms_mnesia_prefs_cases:messages_filtered_when_prefs_default_policy_is_always{error,
{{assertion_failed,assert,is_iq_result,
[{xmlel,<<"iq">>,
[{<<"type">>,<<"set">>},
{<<"id">>,<<"7700b9ad864ffa4a3413ac23dde39436">>}],
[{xmlel,<<"prefs">>,
[{<<"xmlns">>,<<"urn:xmpp:mam:1">>},
{<<"default">>,<<"always">>}],
[{xmlel,<<"always">>,[],[]},{xmlel,<<"never">>,[],[]}]}]}],
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_messages_filtered_when_prefs_default_policy_is_always_2093@domain.example.com">>},
{<<"to">>,
<<"alice_messages_filtered_when_prefs_default_policy_is_always_2093@domain.example.com/res1">>},
{<<"id">>,<<"pushf14354dc43b8d9f2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_messages_filtered_when_prefs_default_policy_is_always_2093@domain.example.com">>}],
[]}]}]},
"<iq from='alice_messages_filtered_when_prefs_default_policy_is_always_2093@domain.example.com' to='alice_messages_filtered_when_prefs_default_policy_is_always_2093@domain.example.com/res1' id='pushf14354dc43b8d9f2' type='set'><query xmlns='jabber:iq:roster'><item subscription='both' jid='bob_messages_filtered_when_prefs_default_policy_is_always_2093@domain.example.com'/></query></iq>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/project/big_test... mysql_redis_25 / mysql_redis / 73bda74 pgsql_cets_25 / pgsql_cets / 73bda74 mam_SUITE:rdbms_async_pool_muc_all:muc06:muc_message_with_stanzaid{failed,
{mam_SUITE,end_per_testcase,
{'EXIT',
{{room_archive_size,0,[{times,200,1}],ok},
[{mongoose_helper,do_wait_until,2,
[{file,
"/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
{line,358}]},
{mam_helper,wait_for_room_archive_size,3,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,789}]},
{mam_helper,clean_room_archive,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,733}]},
{mam_helper,destroy_room,1,
[{file,
"/home/circleci/project/big_tests/tests/mam_helper.erl"},
{line,726}]},
{mam_SUITE,end_per_testcase,2,
[{file,
"/home/circleci/project/big_tests/tests/mam_SUITE.erl"},
{line,954}]},
{test_server,do_end_per_testcase,4,
[{file,"test_server.erl"},{line,1626}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1334}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}}}} internal_mnesia_25 / internal_mnesia / 73bda74 mssql_mnesia_25 / odbc_mssql_mnesia / 73bda74 pgsql_mnesia_25 / pgsql_mnesia / 73bda74 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 73bda74 |
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.
ok
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.
ok
A couple of small code shuffles, to make parameters simpler and having the c2s_data state in the features hook.