-
Notifications
You must be signed in to change notification settings - Fork 1.2k
scripts: fix external provision to use correct power state & hyperv powersync #11504
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
scripts: fix external provision to use correct power state & hyperv powersync #11504
Conversation
The valid states are poweron and poweroff. Signed-off-by: Rohit Yadav <[email protected]>
DaanHoogland
left a comment
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.
clgtm
abh1sar
left a comment
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.
LGTM
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11504 +/- ##
============================================
- Coverage 17.36% 17.36% -0.01%
- Complexity 15232 15233 +1
============================================
Files 5886 5886
Lines 525680 525680
Branches 64159 64159
============================================
- Hits 91261 91260 -1
Misses 424120 424120
- Partials 10299 10300 +1
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:
|
Signed-off-by: Rohit Yadav <[email protected]>
Signed-off-by: Rohit Yadav <[email protected]>
|
I could also manage to fix the hyperv powerstate not syncing. cc @abh1sar @shwstppr @harikrishna-patnala Manually tested in a HyperV WS 2019, Proxmox VE9 and sample/test extension. |
harikrishna-patnala
left a comment
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.
LGTM
…owersync (apache#11504) * scripts: fix external provision to use correct power state The valid states are poweron and poweroff. Signed-off-by: Rohit Yadav <[email protected]> * strip string while processing powerstate for HyperV Signed-off-by: Rohit Yadav <[email protected]> * ignore warning that spills over to exten output string Signed-off-by: Rohit Yadav <[email protected]> --------- Signed-off-by: Rohit Yadav <[email protected]>
The valid states are poweron and poweroff.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?