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

Fixed bug when missing one item in the status and added debug info (BugFix) #1178

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

fernando79513
Copy link
Collaborator

@fernando79513 fernando79513 commented Apr 11, 2024

Description

There was a bug on the comparison test. When one item was missing on the second status, the test was passing anyway. The test could fail when running suspend/audio_after_suspend
We have fix this behavior and added some debug info in case the test fails, according to this comment

Resolved issues

N/A

Documentation

N/A

Tests

cd providers/base
manage.py test -u

hanhsuan
hanhsuan previously approved these changes Apr 12, 2024
Copy link
Contributor

@hanhsuan hanhsuan left a comment

Choose a reason for hiding this comment

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

@fernando79513 fernando79513 changed the title Fixed bug when missing one item in the status and added debug info. Fixed bug when missing one item in the status and added debug info (BugFix) Apr 16, 2024
Copy link

codecov bot commented Apr 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.20%. Comparing base (268c743) to head (665a09f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1178   +/-   ##
=======================================
  Coverage   43.19%   43.20%           
=======================================
  Files         356      356           
  Lines       38653    38659    +6     
  Branches     6561     6560    -1     
=======================================
+ Hits        16697    16701    +4     
  Misses      21293    21293           
- Partials      663      665    +2     
Flag Coverage Δ
provider-base 16.29% <100.00%> (+0.04%) ⬆️

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.

Copy link
Contributor

@hanhsuan hanhsuan left a comment

Choose a reason for hiding this comment

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

LGTM

@fernando79513 fernando79513 merged commit 2ee5cc4 into main Apr 16, 2024
14 checks passed
@fernando79513 fernando79513 deleted the fix-pipewire-comparision-bug branch April 16, 2024 08:51
LiaoU3 pushed a commit to LiaoU3/checkbox that referenced this pull request Apr 17, 2024
…ugFix) (canonical#1178)

* Fixed bug when missing one item in the status and added debug info.

* Formatted pipewire utils tests
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