Skip to content

Commit

Permalink
Merge pull request #562 from fdupont-redhat/v2v_manage_handover_betwe…
Browse files Browse the repository at this point in the history
…en_core_and_automate_part2

[V2V] Retrieve conversion state from Automate rather than InfraConversionJob

(cherry picked from commit 7a9624c)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1767637
  • Loading branch information
gmcculloug authored and simaishi committed Feb 21, 2020
1 parent 9a4acae commit 780943f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def update_total_percentage
end

def main
@task.get_conversion_state
case @task.get_option(:virtv2v_status)
when 'active'
message, percent = update_total_percentage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

before do
allow(ManageIQ::Automate::Transformation::Common::Utils).to receive(:task).and_return(svc_model_task)
allow(svc_model_task).to receive(:get_conversion_state)
end

describe "#main" do
Expand Down

0 comments on commit 780943f

Please sign in to comment.