-
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
Start cover on mim1 - second version #4345
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4345 +/- ##
==========================================
+ Coverage 84.33% 84.88% +0.55%
==========================================
Files 553 553
Lines 33730 33730
==========================================
+ Hits 28445 28632 +187
+ Misses 5285 5098 -187 ☔ View full report in Codecov by Sentry. |
3e3d1dd
to
7a2286f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7a2286f
to
9395ebe
Compare
This comment was marked as outdated.
This comment was marked as outdated.
4dc7db7
to
c49d41c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
So CETS would not put reg into a list of conflicted nodes of mim1
…ction_to_different_server testcase
This is how it looks in codecov.json: "":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,null,null,0] Update rebar3_codecov with a fix Failed modules are meck generates ones: mongoose_mam_id_meck_original
c49d41c
to
8c95f40
Compare
This comment was marked as outdated.
This comment was marked as outdated.
elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / 8cf7c10 small_tests_25 / small_tests / 8cf7c10 small_tests_26 / small_tests / 8cf7c10 small_tests_26_arm64 / small_tests / 8cf7c10 ldap_mnesia_25 / ldap_mnesia / 8cf7c10 ldap_mnesia_26 / ldap_mnesia / 8cf7c10 dynamic_domains_mysql_redis_26 / mysql_redis / 8cf7c10 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 8cf7c10 metrics_c2s_SUITE:single:presence_one{error,
{{xmppPresenceReceived,
{value,3482},
[{times,25,
{error,
{badmatch,{value,3483}},
[{metrics_helper,assert_counter,3,
[{file,
"/home/circleci/project/big_tests/tests/metrics_helper.erl"},
{line,36}]},
{mongoose_helper,do_wait_until,2,
[{file,
"/home/circleci/project/big_tests/../test/common/mongoose_helper.erl"},
{line,362}]},
{metrics_c2s_SUITE,'-presence_one/1-fun-0-',1,
[{file,
"/home/circleci/project/big_tests/tests/metrics_c2s_SUITE.erl"},
{line,125}]},
{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}]}]}}],
ok},
[{mongoose_helper,do_wait_until,2,
[{file,
"/home/circleci/project/big_tests/../test/common/mongoose_helper.erl"},
{line,359}]},
{metrics_c2s_SUITE,'-presence_one/1-fun-0-',1,
[{file,
"/home/circleci/project/big_tests/tests/metrics_c2s_SUITE.erl"},
{line,125}]},
{escalus_story,story,4,
[{file,
"/... dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 8cf7c10 dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / 8cf7c10 internal_mnesia_26 / internal_mnesia / 8cf7c10 pgsql_cets_26 / pgsql_cets / 8cf7c10 pgsql_mnesia_25 / pgsql_mnesia / 8cf7c10 pgsql_mnesia_26 / pgsql_mnesia / 8cf7c10 mysql_redis_26 / mysql_redis / 8cf7c10 mssql_mnesia_26 / odbc_mssql_mnesia / 8cf7c10 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 8cf7c10 |
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-2267 Meck fails to restore coverage if it is run not on the main node".
Proposed changes include:
meck:unload/1
. See Use module instead of meck in amp_big #4328 as a proof of significant coverage improvement after removing mecking from one of the modules.Meck still works well, if we enable cover on each node separately - this means slow
cover:do_compile_beam/2
executed on each node...Erlang 27 has Jit and cover uses jit for native coverage (this means there are changes to
cover.erl
that make Meck never returning when it mocks something on NOT the main node).Ensure you see
jit
in the line:More info:
We used the test to ensure meck and cover work on erlang27:
TLDR: