-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add retry to check_sudo_status and unit test #278
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #278 +/- ##
==========================================
+ Coverage 92.09% 92.23% +0.14%
==========================================
Files 91 92 +1
Lines 15953 16035 +82
==========================================
+ Hits 14692 14790 +98
+ Misses 1261 1245 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments inline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments inline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review original comments again
…into fix/check_sudo_status_failure resolve master branch conflicts.
5bb6afc
to
4060cc4
Compare
3be69d9
to
ee36fa4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment
[x] add retry logic into check_sudo_status that check sudo for 30 mins at interval of 5min (300sec)
[x] add MAX_CHECK_SUDO_RETRY_COUNT, MAX_CHECK_SUDO_INTERVAL_IN_SEC in constant
[x] add add unit test in test_coremain file to test all possible check sudo cases