Skip to content

Functest: Implement wait-power-down EngineSetupManagerAction - #1111

Merged
kostyanf14 merged 1 commit into
HCK-CI:masterfrom
kostyanf14:WaitPowerDown
Aug 19, 2026
Merged

Functest: Implement wait-power-down EngineSetupManagerAction#1111
kostyanf14 merged 1 commit into
HCK-CI:masterfrom
kostyanf14:WaitPowerDown

Conversation

@kostyanf14

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new wait-power-down EngineSetupManager action to the Functest engine, and updates the dummy CI functest case to use that action instead of a raw host sleep step.

Changes:

  • Added WaitPowerDown to Models::EngineSetupManagerActions.
  • Updated the dummy functest case to use engine_setup_manager_action: "wait-power-down" for the power-down waiting step.
  • Implemented handling for WaitPowerDown in Functest#engine_setup_manager_callback (and expanded RuboCop metric disables for that method).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
lib/models/command_info.rb Adds the wait-power-down enum value for engine setup manager actions.
lib/engines/functest/tests/cases/dummy_ci/engine_setup_manager_action.json Switches the “wait for power down” step from host_run: sleep 120 to the new engine action.
lib/engines/functest/functest.rb Implements the new WaitPowerDown action branch in the engine callback.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/engines/functest/functest.rb
@kostyanf14
kostyanf14 merged commit 7ceef24 into HCK-CI:master Aug 19, 2026
11 checks passed
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.

3 participants