-
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
Mod offline graphql #3688
Mod offline graphql #3688
Conversation
Codecov Report
@@ Coverage Diff @@
## feature/graphql #3688 +/- ##
===================================================
+ Coverage 82.04% 82.08% +0.03%
===================================================
Files 502 504 +2
Lines 33640 33656 +16
===================================================
+ Hits 27600 27626 +26
+ Misses 6040 6030 -10
Continue to review full report at Codecov.
|
small_tests_24 / small_tests / 209ea82 small_tests_23 / small_tests / 209ea82 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 209ea82 dynamic_domains_mysql_redis_24 / mysql_redis / 209ea82 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 209ea82 ldap_mnesia_24 / ldap_mnesia / 209ea82 ldap_mnesia_23 / ldap_mnesia / 209ea82 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 209ea82 muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4383}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4124}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4120}]},
{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}]}]}} muc_SUITE:register:user_submits_registration_form_twice{error,
{{assertion_failed,assert,is_iq_result,
[{xmlel,<<"iq">>,
[{<<"type">>,<<"set">>},
{<<"id">>,<<"8badbc65a24c5183635e265d89f65650">>},
{<<"to">>,<<"groupchats.domain.example.com">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:register">>}],
[{xmlel,<<"x">>,
[{<<"xmlns">>,<<"jabber:x:data">>},
{<<"type">>,<<"submit">>}],
[{xmlel,<<"field">>,
[{<<"type">>,<<"hidden">>},
{<<"var">>,<<"FORM_TYPE">>}],
[{xmlel,<<"value">>,[],
[{xmlcdata,<<"jabber:iq:register">>}]}]},
{xmlel,<<"field">>,
[{<<"type">>,<<"text-single">>},
{<<"var">>,<<"nick">>}],
[{xmlel,<<"value">>,[],
[{xmlcdata,
<<"thirdwitchroom-d6f688edba">>}]}]}]}]}]}],
{xmlel,<<"iq">>,
[{<<"from">>,<<"groupchats.domain.example.com">>},
{<<"to">>,
<<"alice_user_submits_registration_form_twice_1963@domain.example.com/res1">>},
{<<"type">>,<<"error">>},
{<<"xml:lang">>,<<"en">>},
{<<"id">>,<<"8badbc65a24c5183635e265d89f65650">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:register">>}],
[{xmlel,<<"x">>,
[{<<"xmlns">>,<<"jabber:x:data">>},
{<<"type">>,<<"submit">>}],
[{xmlel,<<"field">>,
[{<<"type">>,<<"hidden">>},
... internal_mnesia_24 / internal_mnesia / 209ea82 mysql_redis_24 / mysql_redis / 209ea82 pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription{error,
{{badmatch,
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_unsubscribe_after_presence_unsubscription_2027@localhost">>},
{<<"to">>,
<<"bob_unsubscribe_after_presence_unsubscription_2027@localhost/res1">>},
{<<"type">>,<<"headline">>}],
[{xmlel,<<"event">>,
[{<<"xmlns">>,
<<"http://jabber.org/protocol/pubsub#event">>}],
[{xmlel,<<"items">>,
[{<<"node">>,<<"2EP3JPdYc0QNSYHp31vOSQ==">>}],
[{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/project/big_tests/tests/pep_SUITE.erl"},
{line,384}]},
{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,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}]}]}} pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription{error,
{{badmatch,
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_unsubscribe_after_presence_unsubscription_2039@localhost">>},
{<<"to">>,
<<"bob_unsubscribe_after_presence_unsubscription_2039@localhost/res1">>},
{<<"type">>,<<"headline">>}],
[{xmlel,<<"event">>,
[{<<"xmlns">>,
<<"http://jabber.org/protocol/pubsub#event">>}],
[{xmlel,<<"items">>,
[{<<"node">>,<<"beHC1L2z6wvM11tMQGEBgA==">>}],
[{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/project/big_tests/tests/pep_SUITE.erl"},
{line,384}]},
{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,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}]}]}} elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 209ea82 pgsql_mnesia_24 / pgsql_mnesia / 209ea82 pgsql_mnesia_23 / pgsql_mnesia / 209ea82 mssql_mnesia_24 / odbc_mssql_mnesia / 209ea82 riak_mnesia_24 / riak_mnesia / 209ea82 |
small_tests_24 / small_tests / 50c2054 small_tests_23 / small_tests / 50c2054 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 50c2054 dynamic_domains_mysql_redis_24 / mysql_redis / 50c2054 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 50c2054 ldap_mnesia_24 / ldap_mnesia / 50c2054 ldap_mnesia_23 / ldap_mnesia / 50c2054 offline_SUITE:mod_offline_tests:offline_message_is_stored_and_delivered_at_login{error,
{{assertion_failed,assert_many,true,
[is_presence,#Fun<offline_SUITE.10.119913959>],
[{xmlel,<<"presence">>,
[{<<"from">>,
<<"bob_offline_message_is_stored_and_delivered_at_login_976@localhost/new-session">>},
{<<"to">>,
<<"bob_offline_message_is_stored_and_delivered_at_login_976@localhost/new-session">>},
{<<"xml:lang">>,<<"en">>}],
[]},
{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_offline_message_is_stored_and_delivered_at_login_976@localhost/res1">>},
{<<"to">>,
<<"bob_offline_message_is_stored_and_delivered_at_login_976@localhost/res1">>},
{<<"xml:lang">>,<<"en">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"msgtxt">>}]}]}],
" <presence from='bob_offline_message_is_stored_and_delivered_at_login_976@localhost/new-session' to='bob_offline_message_is_stored_and_delivered_at_login_976@localhost/new-session' xml:lang='en'/> <message from='alice_offline_message_is_stored_and_delivered_at_login_976@localhost/res1' to='bob_offline_message_is_stored_and_delivered_at_login_976@localhost/res1' xml:lang='en' type='chat'><body>msgtxt</body></message>"},
[{escalus_new_assert,assert_true,2,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{escalus_story,story,4,
[{file,
"/home/circleci/project/big_tests/_build/default/lib... dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 50c2054 internal_mnesia_24 / internal_mnesia / 50c2054 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 50c2054 pgsql_mnesia_24 / pgsql_mnesia / 50c2054 pgsql_mnesia_23 / pgsql_mnesia / 50c2054 mysql_redis_24 / mysql_redis / 50c2054 mssql_mnesia_24 / odbc_mssql_mnesia / 50c2054 riak_mnesia_24 / riak_mnesia / 50c2054 |
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.
It looks good, I have minor comments
small_tests_24 / small_tests / dd97292 small_tests_23 / small_tests / dd97292 dynamic_domains_mysql_redis_24 / mysql_redis / dd97292 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / dd97292 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / dd97292 ldap_mnesia_24 / ldap_mnesia / dd97292 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / dd97292 ldap_mnesia_23 / ldap_mnesia / dd97292 internal_mnesia_24 / internal_mnesia / dd97292 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / dd97292 pgsql_mnesia_24 / pgsql_mnesia / dd97292 pgsql_mnesia_23 / pgsql_mnesia / dd97292 mysql_redis_24 / mysql_redis / dd97292 riak_mnesia_24 / riak_mnesia / dd97292 mssql_mnesia_24 / odbc_mssql_mnesia / dd97292 |
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 👍
Adding mod_offline admin resolver and tests