Skip to content
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

Don't test exact queue_options when testing operations #6505

Conversation

agrare
Copy link
Member

@agrare agrare commented Dec 6, 2019

Only need to test for the values that are relevent to the tests (e.g.
instance_id, method_name, args).

Fixes: #6504

Only need to test for the values that are relevent to the tests (e.g.
instance_id, method_name, args).
@agrare agrare added the test label Dec 6, 2019
@agrare
Copy link
Member Author

agrare commented Dec 6, 2019

I think as a follow-up we should update these to test the "interface" method e.g. CloudVolume.create_volume_queue instead of testing that CloudVolume.create_volume_queue calls MiqTask.generic_action_with_callback since that is internal to the implementation of that method.

@miq-bot
Copy link
Member

miq-bot commented Dec 6, 2019

Checked commit agrare@be57fcf with ruby 2.5.5, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
9 files checked, 0 offenses detected
Everything looks fine. 🍪

@agrare agrare requested a review from himdel December 6, 2019 21:09
@mzazrivec mzazrivec self-assigned this Dec 9, 2019
@mzazrivec mzazrivec added this to the Sprint 126 Ending Dec 9, 2019 milestone Dec 9, 2019
@mzazrivec mzazrivec merged commit 5800d6b into ManageIQ:master Dec 9, 2019
@agrare agrare deleted the dont_test_exact_queue_item_in_operations_tests branch December 9, 2019 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't match exact queue_options when testing queued operations
3 participants