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

Ignore network unreachable error in hostname test #3074

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

narrieta
Copy link
Member

@narrieta narrieta commented Feb 29, 2024

Another variation of network unreachable that needs to be ignored.

This PR exposed a unit test failure and a pylint crash. Fixes are included.

narrieta added 2 commits February 29, 2024 13:40
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.62%. Comparing base (8ac7e66) to head (254874e).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3074   +/-   ##
========================================
  Coverage    71.62%   71.62%           
========================================
  Files          110      110           
  Lines        16428    16428           
  Branches      2352     2352           
========================================
  Hits         11766    11766           
  Misses        4110     4110           
  Partials       552      552           

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


return original_popen(systemd_command, *args, **kwargs)
Copy link
Member Author

Choose a reason for hiding this comment

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

if neither of the 2 conditions above are true, systemd_command is undefined

@narrieta narrieta merged commit 6697ea8 into Azure:develop Feb 29, 2024
13 checks passed
@narrieta narrieta deleted the unreachable branch March 6, 2024 18:53
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