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

Bugfix: Fix parsing issue for queue policies targeted at quorum queues #958

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

jimmybigcommerce
Copy link
Contributor

Related to #948 - this allowed us to add policies targeted at classic_queues, quorum_queues, and streams. However after the policy is created and they are read out again in subsequent puppet runs, we get the following failure:

Could not evaluate: cannot parse line from list_policies

This modification fixes this parsing issue and adds a test which covers this change and also covers test parsing a set of alternative policy settings which aren't currently tested for (different pattern/definitions containing integer values).

@jimmybigcommerce jimmybigcommerce force-pushed the quorum_queue_bugfix branch 2 times, most recently from 58d2a56 to 72e0495 Compare November 1, 2023 06:39
@wyardley wyardley added the bug Something isn't working label Nov 1, 2023
Copy link
Contributor

@wyardley wyardley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to suggest an acceptance test too, but I'm not sure that the version installed currently will be new enough for that to work anyway.

@jimmybigcommerce
Copy link
Contributor Author

@wyardley I think this is all good to merge when you are ready!

@wyardley wyardley merged commit 6764328 into voxpupuli:master Nov 5, 2023
6 checks passed
@jimmybigcommerce jimmybigcommerce deleted the quorum_queue_bugfix branch November 5, 2023 23:11
@jimmybigcommerce jimmybigcommerce mentioned this pull request Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants