-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[catalog_controller_spec.rb] Fix ems let... again #7508
[catalog_controller_spec.rb] Fix ems let... again #7508
Conversation
f3fadd9
to
ee6461a
Compare
Seems to be a bunch of failures across That said, the current job at the time of writing: https://github.com/ManageIQ/manageiq-ui-classic/runs/1397568112 Is only failing on |
This is a follow up to 02e4b85 as the solution provided there, while works for this use case, ended up causing problems in `ManageIQ/manageiq-content`: ManageIQ/manageiq#20787 (comment) Instead, we use the :provider_embedded_ansible factory, and reference the `.automation_manager` from that. In addition, since a update to the `:inventory_root_groups` was needed, we also modify the record in a `before` statement as well. This ends up not being as clean as the previous implementation, but makes sure we are using the `EmbeddedAnsible` provider in the form that it would be called when used in the application.
ee6461a
to
16b4501
Compare
Checked commit NickLaMuro@16b4501 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint spec/controllers/catalog_controller_spec.rb
|
@himdel and/or @h-kataria : Could one of you take a look at this now that specs (on master) are passing again? |
Merge ManageIQ#7508 instead! This is a follow up to 02e4b85 as the solution provided there, while works for this use case, ended up causing problems in `ManageIQ/manageiq-content`: ManageIQ/manageiq#20787 (comment) Instead, we use the :provider_embedded_ansible factory, and reference the `.automation_manager` from that. In addition, since a update to the `:inventory_root_groups` was needed, we also modify the record in a `before` statement as well. This ends up not being as clean as the previous implementation, but makes sure we are using the `EmbeddedAnsible` provider in the form that it would be called when used in the application.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
This is a follow up to 02e4b85 (aka: #7500 ) as the solution provided there, while works for this use case, ended up causing problems in
ManageIQ/manageiq-content
:ManageIQ/manageiq#20787 (comment)
Instead, we use the
:provider_embedded_ansible
factory, and reference the.automation_manager
from that. In addition, since a update to the:inventory_root_groups
was needed, we also modify the record in abefore
statement as well.This ends up not being as clean as the previous implementation, but makes sure we are using the
EmbeddedAnsible
provider in the form that it would be called when used in the application.Links