Skip to content

Fix flaky PION_LOG_*, more tests#117

Merged
JoTurk merged 1 commit intomasterfrom
fix/log-env
Jan 10, 2025
Merged

Fix flaky PION_LOG_*, more tests#117
JoTurk merged 1 commit intomasterfrom
fix/log-env

Conversation

@JoTurk
Copy link
Member

@JoTurk JoTurk commented Jan 9, 2025

Description

I was tracking an issue with video feedback when I noticed the logs were flaky. Initially, I thought it was a bug, but I later discovered that PION_LOG_*=all is unreliable due to how the range map is ordered.

Added tests to cover everything.

@codecov
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.87%. Comparing base (8466bde) to head (1e7ee6f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #117       +/-   ##
===========================================
+ Coverage   55.71%   97.87%   +42.15%     
===========================================
  Files           2        2               
  Lines         140      141        +1     
===========================================
+ Hits           78      138       +60     
+ Misses         60        2       -58     
+ Partials        2        1        -1     
Flag Coverage Δ
go 97.87% <100.00%> (+42.15%) ⬆️
wasm 97.87% <100.00%> (+42.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@JoTurk JoTurk merged commit 770cd0b into master Jan 10, 2025
13 checks passed
@JoTurk JoTurk deleted the fix/log-env branch January 10, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants