-
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
implement check_type and fix different errors #69
Conversation
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.
@markuman thanks for the new feature and the fixes!
My suggestions are
- If the PR contains bugfixes, it would be good to add
bugfixes:
in the changelog fragment - in the future, it's better to add not tightly related things with separate PRs because a) it's much easier to review b) it's easier to revert changes later if needed
- several cosmetic not necessary suggestions
- idea: would be perfect to start checking actual system state with
shell:
orcommand:
modules in integration tests in the future, i.e. to query the test DB via cli tools ORproxysql_query:
module that we discussed should definitely help (maybeproxysql_info
covers this case?). - it would be nice to have an example for the new option in the EXAMPLES block
Thank you!
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Absolutely right. It just happen in a flow of coding.
You mean, we did it now with shell/command and replace it with |
@markuman thanks for working on this!
Ah, yes, i greped through the tests/integration directory and i see them used. |
if the check is not applicable here, feel free to skip my suggestion |
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
Just one small typo change bb59a10 |
And one left query style: f17af88 |
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.
Thanks!
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
tests/integration/targets/test_proxysql_replication_hostgroups/tasks/main.yml
Outdated
Show resolved
Hide resolved
tests/integration/targets/test_proxysql_replication_hostgroups/tasks/main.yml
Show resolved
Hide resolved
tests/integration/targets/test_proxysql_replication_hostgroups/tasks/main.yml
Outdated
Show resolved
Hide resolved
…/tasks/main.yml Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
…/tasks/main.yml Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
I'm going to checkout and run the tests locally in 5-10 minutes. |
I will run now against various version, included 1.4.15 |
everything passed locally |
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
SUMMARY
closes: #19
check_type
feature.reader_hostgroup: 0
reader_hostgroup
in generalcomment
.""
is used in source codeISSUE TYPE
COMPONENT NAME
proxysql_replication_hostgroups