-
Notifications
You must be signed in to change notification settings - Fork 11
Bugfix: Correct reboot management parameters #322
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
Conversation
…into BugFix/correct_reboot_mg_parm pull master changes
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.
Pull Request Overview
The purpose of this PR is to fix the parameter passing for the reboot management functions that were causing test failures.
- Updated keyword parameters for the __reboot_wait_pulse call
- Corrected the parameter name from maintenance_window_allowable_limit_remaining_in_minutes to maintenance_window_allowable_limit_remaining
Comments suppressed due to low confidence (1)
src/core/src/core_logic/RebootManager.py:145
- Ensure that the __reboot_wait_pulse method's signature is updated to accept the new keyword parameter names, particularly the change from 'maintenance_window_allowable_limit_remaining_in_minutes' to 'maintenance_window_allowable_limit_remaining'.
self.__reboot_wait_pulse(elapsed_time_in_minutes = int(elapsed_time_in_minutes), max_allowable_time_to_reboot_in_minutes = int(max_allowable_time_to_reboot_in_minutes), maintenance_window_allowable_limit_remaining = int(maintenance_window_available_time_in_minutes - elapsed_time_in_minutes))
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #322 +/- ##
=======================================
Coverage 93.77% 93.77%
=======================================
Files 103 103
Lines 17925 17925
=======================================
Hits 16810 16810
Misses 1115 1115
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
this release includes: [x] Bugfix: Restore patch mode config on Image Default (#301) [x] Clean-up: Envlayer dead-code clean-up for Environment Recorder and Emulator ( #304) [x] Bugfix: Reboot Manager behavior - multiple bugfixes & error rate reduction (#310) [x] Bugfix: Fix sudo check logs and wordings (#315) [x] Bugfix: Mitigation for environments with Python Unbuffered I/O (#320) [x] Bugfix: Correct reboot management parameters(#322)
[x] explicit set the parameters

[x] correct the type error: