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

Set "unknown" bfd_addr to None #38

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

hmpf
Copy link
Contributor

@hmpf hmpf commented Nov 23, 2023

Closes #37

@hmpf hmpf added bug Something isn't working uncaught exception Subtype of bug labels Nov 23, 2023
@hmpf hmpf requested a review from podliashanyk November 23, 2023 14:06
@hmpf hmpf self-assigned this Nov 23, 2023
Copy link

github-actions bot commented Nov 23, 2023

Test results

    3 files      3 suites   41s ⏱️
  62 tests   62 ✔️ 0 💤 0
186 runs  186 ✔️ 0 💤 0

Results for commit e334474.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@podliashanyk podliashanyk left a comment

Choose a reason for hiding this comment

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

Tested manually and it works as intended 🙌 Can be merged after failing tests are fixed

src/zinolib/event_types.py Outdated Show resolved Hide resolved
@hmpf hmpf force-pushed the fix-bfd_addr-error branch from a3f89d9 to e334474 Compare November 27, 2023 12:57
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

Attention: 39 lines in your changes are missing coverage. Please review.

Comparison is base (f066d26) 71.51% compared to head (e334474) 71.92%.
Report is 9 commits behind head on main.

Files Patch % Lines
src/zinolib/controllers/zino1.py 60.00% 14 Missing ⚠️
src/zinolib/ritz.py 27.77% 13 Missing ⚠️
src/zinolib/config/zino1.py 57.89% 8 Missing ⚠️
src/zinolib/event_types.py 82.35% 3 Missing ⚠️
src/zinolib/utils.py 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
+ Coverage   71.51%   71.92%   +0.41%     
==========================================
  Files          13       13              
  Lines        1271     1343      +72     
==========================================
+ Hits          909      966      +57     
- Misses        362      377      +15     

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

@hmpf
Copy link
Contributor Author

hmpf commented Nov 27, 2023

I rewrote it to use the decorator from #40 instead of manually adding information to any exception in create. Then there's no need to change any tests.

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hmpf hmpf requested a review from podliashanyk November 27, 2023 12:59
Copy link
Contributor

@podliashanyk podliashanyk left a comment

Choose a reason for hiding this comment

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

Works great!

@hmpf hmpf merged commit 5630054 into Uninett:main Nov 29, 2023
8 of 9 checks passed
@hmpf hmpf deleted the fix-bfd_addr-error branch November 29, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working uncaught exception Subtype of bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: malformed bfd message
2 participants