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

Fix logger cover #23

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Fix logger cover #23

merged 2 commits into from
Aug 22, 2023

Conversation

arcusfelis
Copy link
Contributor

@arcusfelis arcusfelis commented Aug 22, 2023

The PR addresses MIM-2010:

  • Multiline logging calls report one line as not covered by tests. See diff for the example of such calls.

Changes:

More info about what it does erlang/otp#7531

After discussing the bug with the OTP team,
the best solution is to run tests one more time but
without the logger (i.e. to cover the second clause in the macro)
erlang/otp#7531
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (343d799) 91.01% compared to head (d7f855b) 91.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   91.01%   91.01%           
=======================================
  Files           8        8           
  Lines         434      434           
=======================================
  Hits          395      395           
  Misses         39       39           
Files Changed Coverage Δ
src/cets.erl 99.42% <100.00%> (ø)
src/cets_call.erl 84.61% <100.00%> (ø)
src/cets_join.erl 97.93% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arcusfelis arcusfelis marked this pull request as ready for review August 22, 2023 07:17
Copy link
Contributor

@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.

Well, if we have to then be it, good to find out 🤷🏽‍♂️

@NelsonVides NelsonVides merged commit 3144dc0 into main Aug 22, 2023
6 checks passed
@NelsonVides NelsonVides deleted the fix-logger-cover branch August 22, 2023 12:17
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.

2 participants