Skip to content
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

Add mongoose_backend:get_backend_name #3345

Merged
merged 3 commits into from
Oct 20, 2021

Conversation

gustawlippa
Copy link
Contributor

This is analogous to the function exposed in the dynamically compiled backends. It is used in some places in MIM, and while the "backend_name" (the last part of the backend module name, like pgsql, mnesia etc.) can be extracted via string manipulation, it seems cleaner to just reintroduce this function.

This change goes together with an update in mongoose_helper for the big tests. It is used to check if the suites finished dirty or not. After all backends will have been refactored, we can get rid of the *_old functions of course.

It returns the atom describing the backend, like `mssql`, `pgsql`, etc.
This is analogous to `backend_name` function that was exposed by the
dynamically compiled modules in `backend_module.erl`. It is used by
some tests and `mongoose_rdbms`.
Because backends can be running per host type. This also fixes an
issue of suites logging that they finished dirty, after having
dynamically compiled backends removed.

The old interface is called for the time being, but will be removed when
all modules will have dynamic backends converted.
@codecov
Copy link

codecov bot commented Oct 19, 2021

Codecov Report

Merging #3345 (01fb11a) into without-dynamic-backend-modules (3a3261f) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                         Coverage Diff                         @@
##           without-dynamic-backend-modules    #3345      +/-   ##
===================================================================
- Coverage                            80.73%   80.73%   -0.01%     
===================================================================
  Files                                  401      401              
  Lines                                32491    32496       +5     
===================================================================
+ Hits                                 26232    26235       +3     
- Misses                                6259     6261       +2     
Impacted Files Coverage Δ
src/mongoose_backend.erl 100.00% <100.00%> (ø)
src/event_pusher/mod_event_pusher.erl 65.00% <0.00%> (-22.50%) ⬇️
...c/global_distrib/mod_global_distrib_server_mgr.erl 74.57% <0.00%> (-2.26%) ⬇️
src/http_upload/mod_http_upload.erl 94.62% <0.00%> (-2.16%) ⬇️
src/mam/mod_mam_meta.erl 94.73% <0.00%> (-2.11%) ⬇️
src/metrics/mongoose_metrics.erl 95.45% <0.00%> (-0.65%) ⬇️
src/pubsub/mod_pubsub_db_mnesia.erl 92.43% <0.00%> (-0.43%) ⬇️
src/mam/mod_mam_utils.erl 89.36% <0.00%> (-0.34%) ⬇️
src/ejabberd_c2s.erl 89.22% <0.00%> (-0.08%) ⬇️
src/mod_muc_log.erl 77.88% <0.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a3261f...01fb11a. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Oct 19, 2021

small_tests_24 / small_tests / bffd681
Reports root / small


internal_mnesia_24 / internal_mnesia / bffd681
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 297 / Auto-skipped: 0


small_tests_23 / small_tests / bffd681
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / bffd681
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / bffd681
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / bffd681
Reports root/ big
OK: 2697 / Failed: 5 / User-skipped: 184 / Auto-skipped: 0

inbox_SUITE:one_to_one:check_total_unread_count_and_active_conv_count
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"mike_check_total_unread_count_and_active_conv_count_94.546700@domain.example.com/res1">>,
          escalus_tcp,<0.16349.0>,
          [{event_manager,<0.16260.0>},
           {server,<<"domain.example.com">>},
           {username,
             <<"mike_check_total_unread_count_and_active_conv_count_94.546700">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16260.0>},
            {server,<<"domain.example.com">>},
            {username,
              <<"mike_check_total_unread_count_and_active_conv_count_94.546700">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"mike_check_total_unread_count_and_active_conv_count_94.546700">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"mike_check_total_unread_count_and_active_conv_count_94.546700">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {password,<<"nicniema">>},
           {stream_id,<<"5d9a9069338ee0a7">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,send_msg,3,
       [...

Report log

inbox_SUITE:one_to_one:carbons_are_not_stored
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"bOb_carbons_are_not_stored_94.523012@domain.example.com/res1">>,
          escalus_tcp,<0.16365.0>,
          [{event_manager,<0.16197.0>},
           {server,<<"domain.example.com">>},
           {username,<<"bOb_carbons_are_not_stored_94.523012">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16197.0>},
            {server,<<"domain.example.com">>},
            {username,<<"bOb_carbons_are_not_stored_94.523012">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bOb_carbons_are_not_stored_94.523012">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bOb_carbons_are_not_stored_94.523012">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {password,<<"makrolika">>},
           {stream_id,<<"2311b35fa666ba46">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
        {line,420}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {inbox...

Report log

inbox_SUITE:one_to_one:reset_unread_counter_and_show_only_unread
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"mike_reset_unread_counter_and_show_only_unread_94.553609@domain.example.com/res1">>,
          escalus_tcp,<0.16360.0>,
          [{event_manager,<0.16275.0>},
           {server,<<"domain.example.com">>},
           {username,
             <<"mike_reset_unread_counter_and_show_only_unread_94.553609">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16275.0>},
            {server,<<"domain.example.com">>},
            {username,
              <<"mike_reset_unread_counter_and_show_only_unread_94.553609">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"mike_reset_unread_counter_and_show_only_unread_94.553609">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"mike_reset_unread_counter_and_show_only_unread_94.553609">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {password,<<"nicniema">>},
           {stream_id,<<"75c192fe88c622b8">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,send_msg,3,
       [{file,"/home/circleci/app...

Report log

inbox_SUITE:one_to_one:user_has_only_unread_messages_or_only_read
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"kate_user_has_only_unread_messages_or_only_read_94.560106@domain.example.com/res1">>,
          escalus_tcp,<0.16379.0>,
          [{event_manager,<0.16285.0>},
           {server,<<"domain.example.com">>},
           {username,
             <<"kate_user_has_only_unread_messages_or_only_read_94.560106">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16285.0>},
            {server,<<"domain.example.com">>},
            {username,
              <<"kate_user_has_only_unread_messages_or_only_read_94.560106">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"kate_user_has_only_unread_messages_or_only_read_94.560106">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"kate_user_has_only_unread_messages_or_only_read_94.560106">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {password,<<"makrowe;p">>},
           {stream_id,<<"069cedf4642321a6">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-'...

Report log

inbox_SUITE:one_to_one:user_has_two_conversations
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"kate_user_has_two_conversations_94.525228@domain.example.com/res1">>,
          escalus_tcp,<0.16372.0>,
          [{event_manager,<0.16213.0>},
           {server,<<"domain.example.com">>},
           {username,<<"kate_user_has_two_conversations_94.525228">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16213.0>},
            {server,<<"domain.example.com">>},
            {username,
              <<"kate_user_has_two_conversations_94.525228">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"kate_user_has_two_conversations_94.525228">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"kate_user_has_two_conversations_94.525228">>},
           {server,<<"domain.example.com">>},
           {host,<<"localhost">>},
           {password,<<"makrowe;p">>},
           {stream_id,<<"ce7e5ab9357e6396">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
        {line,420}]},
     {lists,foldl,3,[{file...

Report log


dynamic_domains_mysql_redis_24 / mysql_redis / bffd681
Reports root/ big
OK: 2691 / Failed: 1 / User-skipped: 201 / Auto-skipped: 0

mam_SUITE:rdbms_prefs_cases:prefs_set_cdata_request
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected {prefs_result_iq,<<\"roster\">>,\n                  [<<\"montague@montague.net\">>,\n                   <<\"romeo@montague.net\">>],\n                  []}\n\tValue {prefs_result_iq,<<\"always\">>,\n                 [<<\"montague@montague.net\">>,\n                <<\"romeo@montague.net\">>],\n                 []}\n"}}

Report log


ldap_mnesia_23 / ldap_mnesia / bffd681
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / bffd681
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 323 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / bffd681
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / bffd681
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / bffd681
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / bffd681
Reports root/ big
OK: 3054 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / bffd681
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / bffd681
Reports root/ big
OK: 1715 / Failed: 1 / User-skipped: 326 / Auto-skipped: 0

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}]}]}}

Report log

@@ -50,18 +51,28 @@ ensure_backend_metrics(MainModule, FunNames) ->
end,
lists:foreach(EnsureFun, FunNames).

persist_backend_name(HostType, MainModule, Backend) ->
persist_backend_name(HostType, MainModule, Backend, BackendModule) ->
Key = backend_key(HostType, MainModule),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is more performant to use two different keys for backend_name and backend_module.
And put two persistent terms.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, if it is only used in tests, you can just introduce:

get_backend_name(HostType, MainModule) ->
    gen_mod:get_module_opt(HostType, MainModule, backend, mnesia).

Copy link
Contributor Author

@gustawlippa gustawlippa Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backend_name is used in mongoose_rdbms and tests - I think it's better to keep this API somewhere, because many places rely on it being just the backend_name.
We will probably need API to get backend_module in the near future anyway, as some modules use it with dynamically compiled backends... and we just deleted something like this from gen_mod :/ I got confused, of course it's in mongoose_backend already...
Do you think it's better to have get_backend_name in gen_mod or mongoose_backend using persistent term or the module opts? I thought since we already put it in persistent term in mongoose_backend we could just use it similarly to backend_module (with different keys if it's more performant though).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed the version with backend_name and backend_module split. Please see if it's OK.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is more performant to use two different keys for backend_name and backend_module.
And put two persistent terms.

Well, technically speaking, that might be not true. Persistent terms are implemented as very compact hash tables with shared memory, which both things statistically improve cache locality by a lot. And it makes me suspicious to see that we're injecting so so many small values to the persistent term table 🤔

Nevertheless that's an implementation detail well-hidden behind this module, it's easy to change and load-test later in the future if necessary, so both options are absolutely fine for now, it will still be much faster than ets 😄

MainModule :: main_module()) -> BackendName :: atom().
get_backend_name(HostType, MainModule) ->
Key = backend_key(HostType, MainModule),
%% Would crash, if the key is missing
Copy link
Contributor

@vkatsuba vkatsuba Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can handle it use persistent_term:get/2. Plus maybe make sense to log it(if key is missing).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to have it crashed here - I followed what's in get_backend_module.

Copy link
Contributor

@vkatsuba vkatsuba Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then no make sense to keep this comment here - %% Would crash, if the key is missing, because crash is expected behavior for persistent_term:get/1.


%% Get a backend name, stored in init_per_host_type
%% @doc Get a backend module, stored in init_per_host_type.
-spec get_backend_module(HostType :: mongooseim:host_type(),
MainModule :: main_module()) ->
BackendModule :: backend_module().
get_backend_module(HostType, MainModule) ->
Key = backend_key(HostType, MainModule),
%% Would crash, if the key is missing
Copy link
Contributor

@vkatsuba vkatsuba Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make sense remove this strange comment from here because crash is expected behavior if key is missing and this behavior clearly described in official OTP documentation, not sure that it make a big sense to repeat it in source code too...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same if someone will write something like:

...
%% Would crash, if the key is missing
#{key := Key} = Data,
...

😁

@mongoose-im
Copy link
Collaborator

mongoose-im commented Oct 19, 2021

small_tests_24 / small_tests / 99731fb
Reports root / small


internal_mnesia_24 / internal_mnesia / 99731fb
Reports root/ big
OK: 1588 / Failed: 1 / User-skipped: 297 / Auto-skipped: 0

amp_big_SUITE:offline:offline_failure:notify_deliver_to_offline_user_recipient_privacy_test
{error,
  {{assertion_failed,assert,is_presence,
     {xmlel,<<"stream:error">>,[],
       [{xmlel,<<"conflict">>,
          [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-streams">>}],
          []},
        {xmlel,<<"text">>,
          [{<<"xml:lang">>,<<"en">>},
           {<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-streams">>}],
          [{xmlcdata,<<"Replaced by new connection">>}]}]},
     "<stream:error><conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Replaced by new connection</text></stream:error>"},
   [{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,'-drop_presences/2-lc$^0/1-0-',1,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,190}]},
    {escalus_story,drop_presences,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,190}]},
    {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}]},
   ...

Report log


small_tests_23 / small_tests / 99731fb
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 99731fb
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 99731fb
Reports root/ big
OK: 2685 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 99731fb
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 99731fb
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 99731fb
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 99731fb
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 323 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 99731fb
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 99731fb
Reports root/ big
OK: 3054 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 99731fb
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 99731fb
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 99731fb
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 99731fb
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 326 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Oct 20, 2021

small_tests_24 / small_tests / a4f31fc
Reports root / small


internal_mnesia_24 / internal_mnesia / a4f31fc
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 297 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Oct 20, 2021

small_tests_24 / small_tests / 01fb11a
Reports root / small


internal_mnesia_24 / internal_mnesia / 01fb11a
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 297 / Auto-skipped: 0


small_tests_23 / small_tests / 01fb11a
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 01fb11a
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 01fb11a
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 01fb11a
Reports root/ big
OK: 2685 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 01fb11a
Reports root/ big
OK: 2727 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

rest_client_SUITE:muc:messages_can_be_paginated_in_room
{error,
  {{assertion_failed,assert,is_chat_message,
     [<<"11884d29">>],
     {xmlel,<<"message">>,
       [{<<"to">>,<<"1634-721436-59482@muclight2.domain.example.com">>},
        {<<"type">>,<<"chat">>}],
       [{xmlel,<<"body">>,[],[{xmlcdata,<<"63c121a8">>}]}]},
     "<message to='1634-721436-59482@muclight2.domain.example.com' type='chat'><body>63c121a8</body></message>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {rest_client_SUITE,assert_room_messages,2,
      [{file,"/home/circleci/app/big_tests/tests/rest_client_SUITE.erl"},
       {line,772}]},
    {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}]}]}}

Report log


ldap_mnesia_23 / ldap_mnesia / 01fb11a
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 01fb11a
Reports root/ big
OK: 2702 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 01fb11a
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 323 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 01fb11a
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 01fb11a
Reports root/ big
OK: 3054 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 01fb11a
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 01fb11a
Reports root/ big
OK: 3071 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 01fb11a
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 326 / Auto-skipped: 0

Copy link
Collaborator

@NelsonVides NelsonVides left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, good point done here 👍🏽

@vkatsuba vkatsuba merged commit 24ec4b1 into without-dynamic-backend-modules Oct 20, 2021
@vkatsuba vkatsuba deleted the wdbm-tests-mongoose_helper branch October 20, 2021 09:52
@Premwoik Premwoik added this to the 5.1.0 milestone May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants