Skip to content

Commit

Permalink
Revert "Merge pull request #19416 from fdupont-redhat/v2v_pin_infraco…
Browse files Browse the repository at this point in the history
…nversionjob_to_server"

This reverts commit 5bfdeea.

https://bugzilla.redhat.com/show_bug.cgi?id=1768532
  • Loading branch information
simaishi committed Dec 3, 2019
1 parent 707df01 commit 7927494
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions app/models/infra_conversion_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ def queue_signal(*args, deliver_on: nil)
:zone => zone,
:task_id => guid,
:args => args,
:deliver_on => deliver_on,
:server_guid => MiqServer.my_server.guid
:deliver_on => deliver_on
)
end

Expand Down
2 changes: 0 additions & 2 deletions spec/models/infra_conversion_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
let(:user_admin) { FactoryBot.create(:user_admin) }
let(:group) { FactoryBot.create(:miq_group) }
let(:zone) { FactoryBot.create(:zone) }
let(:server) { FactoryBot.create(:miq_server) }

let(:ems_vmware) { FactoryBot.create(:ems_vmware, :zone => zone) }
let(:ems_cluster_vmware) { FactoryBot.create(:ems_cluster, :ext_management_system => ems_vmware) }
Expand Down Expand Up @@ -75,7 +74,6 @@

before do
allow(MiqServer).to receive(:my_zone).and_return(zone.name)
allow(MiqServer).to receive(:my_server).and_return(server)
allow(ServiceTemplateProvisionRequest).to receive(:destination)
end

Expand Down

0 comments on commit 7927494

Please sign in to comment.