diff --git a/app/models/infra_conversion_job.rb b/app/models/infra_conversion_job.rb index 44b5d4864d6..963732d3a3e 100644 --- a/app/models/infra_conversion_job.rb +++ b/app/models/infra_conversion_job.rb @@ -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) diff --git a/spec/models/infra_conversion_job_spec.rb b/spec/models/infra_conversion_job_spec.rb index 4fe591ad630..ad5fbe40668 100644 --- a/spec/models/infra_conversion_job_spec.rb +++ b/spec/models/infra_conversion_job_spec.rb @@ -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