-
Notifications
You must be signed in to change notification settings - Fork 26
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
Skip checking flagIN value before inserting rules #108
Skip checking flagIN value before inserting rules #108
Conversation
@squirrel532 thanks for your PR. Can you also please add a changelog fragment: https://docs.ansible.com/ansible/latest/community/development_process.html#creating-changelog-fragments And another think that would be very helpful is to expand the intergration test for Just add a new task file Once it's done, you can run the integrationtest locally |
I found a way to reuse existed test case. |
tests/integration/targets/test_proxysql_query_rules_fast_routing/tasks/main.yml
Outdated
Show resolved
Hide resolved
@squirrel532 just the two tihngs, otherwise LGTM! |
cbf9db5
to
699de8e
Compare
Remove addition testing mentioned before, it's ready to merge. |
@squirrel532 I've committed the integration test. You can run it with
You'll see that it is/was failing.
So the current fix d25ef07 just prevents that the module is falling in an uncaught exception. The change itself is still not happen. The
After digging deeper, I've figured out that the After that 48bd3f9, it works
|
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.
I'm not a specialist in the underlying technology.
If it's backwards compatible, LGTM in terms of general stuff like the changelog and integration test coverage
@squirrel532 @markuman thanks a lot for working on the fix!
Thank you all for the contribution! @squirrel532 please continue to contribute to ansible! https://docs.ansible.com/ansible/devel//community/contributor_path.html |
…s#108) * Skip checking flagIN value before inserting rules * Add changelogs fragments * Update changelogs/fragments/107-update_destination_hostgroup.yml * include integration test * fix typo * more debug outputs * more checks * fix query_data order * append changelog Co-authored-by: Markus Bergholz <git@osuv.de>
…s#108) * Skip checking flagIN value before inserting rules * Add changelogs fragments * Update changelogs/fragments/107-update_destination_hostgroup.yml * include integration test * fix typo * more debug outputs * more checks * fix query_data order * append changelog Co-authored-by: Markus Bergholz <git@osuv.de>
#120 (#130) * Skip checking flagIN value before inserting rules (#108) * Skip checking flagIN value before inserting rules * Add changelogs fragments * Update changelogs/fragments/107-update_destination_hostgroup.yml * include integration test * fix typo * more debug outputs * more checks * fix query_data order * append changelog Co-authored-by: Markus Bergholz <git@osuv.de> * too many blank lines (#120) Co-authored-by: Squirrel <squirrel532@protonmail.com>
SUMMARY
Fix #107
ISSUE TYPE
COMPONENT NAME
proxysql_query_rules_fast_routing
ADDITIONAL INFORMATION