Skip to content

Commit

Permalink
[EmbeddedAnsible] Remove job_status_spec TODO
Browse files Browse the repository at this point in the history
This probably is a case we should support, but until it comes up, going
to remove this TODO as it doesn't seem like something that is needed or
heavily requested.
  • Loading branch information
NickLaMuro committed Sep 9, 2019
1 parent 74cad33 commit f6f654c
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@
expect(status.normalized_status).to eq(['failed', 'Stack creation failed'])
end

# TODO: remove or implement? Is canceling something we can handle?
#
# it 'parses Canceled' do
# status = described_class.new('Canceled', nil)
# expect(status.completed?).to be_truthy
# expect(status.succeeded?).to be_falsey
# expect(status.canceled?).to be_truthy
# expect(status.deleted?).to be_falsey
# expect(status.rolled_back?).to be_falsey
# expect(status.normalized_status).to eq(['create_canceled', 'Job launching was canceled'])
# end

it 'parses transient status' do
miq_task.state = MiqTask::STATE_ACTIVE
miq_task.status = MiqTask::STATUS_UNKNOWN
Expand Down

0 comments on commit f6f654c

Please sign in to comment.