Skip to content

Commit

Permalink
Merge pull request #19371 from fdupont-redhat/v2v_remove_handover_fro…
Browse files Browse the repository at this point in the history
…m_shutdown_vm_transition

[V2V] Remove handover from shutdown_vm transition
  • Loading branch information
agrare authored Oct 7, 2019
2 parents 0cb2310 + cb7738c commit 8bf39a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/models/infra_conversion_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ def shutdown_vm
end

update_migration_task_progress(:on_exit)
handover_to_automate
queue_signal(:transform_vm)
rescue StandardError => error
update_migration_task_progress(:on_error)
Expand Down
1 change: 0 additions & 1 deletion spec/models/infra_conversion_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,6 @@
expect(job).to receive(:update_migration_task_progress).once.ordered.with(:on_exit)
expect(job).to receive(:queue_signal).with(:transform_vm)
job.signal(:shutdown_vm)
expect(task.reload.options[:workflow_runner]).to eq('automate')
end

it 'sends shutdown request to VM if VM supports shutdown_guest' do
Expand Down

0 comments on commit 8bf39a9

Please sign in to comment.