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

Reset BMC fixes #119

Merged
merged 3 commits into from
Dec 7, 2023
Merged

Reset BMC fixes #119

merged 3 commits into from
Dec 7, 2023

Conversation

joelrebel
Copy link
Member

What does this PR do

DoctorVin
DoctorVin previously approved these changes Dec 6, 2023
Copy link
Collaborator

@DoctorVin DoctorVin left a comment

Choose a reason for hiding this comment

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

A couple of questions. Not worth blocking a merge in my view, but follow-on commentary would be nice.

internal/worker/task_handler_test.go Outdated Show resolved Hide resolved
require.NoError(t, err, "no errors returned")
require.Equal(t, 3, len(sms), "expect three action state machines")
require.Equal(t, 3, len(actions), "expect three actions to be performed")
require.False(t, actions[0].BMCResetPreInstall, "expect BMCResetPreInstall is false on the first action")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this different than the above test case?

Copy link
Member Author

Choose a reason for hiding this comment

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

This one is slightly different - it includes the bconsts.FirmwareInstallStepResetBMCOnInstallFailure, step and ForceInstall set to true

@joelrebel joelrebel merged commit bc60ab8 into main Dec 7, 2023
7 checks passed
@joelrebel joelrebel deleted the bmc-resets branch December 7, 2023 09:01
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