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
Fixes #8519 - Bonus subs not being reindexed #4863
Conversation
@dustints, this pull request is currently not mergeable. Please rebase against the master branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running:
This message was auto-generated by Foreman's prprocessor |
@thomasmckay should be working now |
end | ||
|
||
def add_pool_to_index(pool_id) | ||
cp_pool = attempt_find_pool(pool_id) |
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.
What problem is this solving?
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.
@thomasmckay sometimes I get the message before the pool is available in candlepin...so when I query the pool in cp, it would throw a ResourceNotFound error...it was causing end-to-end testing to be inconsistent.
Bonus subscriptions aren't being reindexed since the handler was only watching for entitlements that got created/deleted. Handler should be watching pool create/delete.
@thomasmckay updated, after retesting a few times, that bit of logic isn't needed. |
ack |
Fixes #8519 - Bonus subs not being reindexed
Bonus subscriptions aren't being reindexed since the handler was only
watching for entitlements that got created/deleted. Handler should be
watching pool create/delete.