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
Integration tests for influxdb_user module #35315
Conversation
@ar7z1 Thanks for integration test. |
I've just realised that shippable doesn't run |
212eb64
to
609cbd1
Compare
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
609cbd1
to
a5f9c83
Compare
ready_for_review |
good job, I would even add some more tests for idempotency checking and check mode, see https://github.com/ansible/ansible/blob/devel/test/integration/targets/cs_account/tasks/main.yml#L31 as an example. you basically run the module 3 times:
Would you like to extend the tests before we merge? |
@resmo, Thanks for review! Sure, I'll extend the tests. :-) |
looks good to me shipit |
@resmo Thank you for review! |
bot_status |
Componentstest/integration/targets/influxdb_user/aliases test/integration/targets/influxdb_user/meta/main.yml test/integration/targets/influxdb_user/tasks/main.yml test/integration/targets/influxdb_user/tasks/tests.yml test/integration/targets/setup_influxdb/tasks/main.yml test/integration/targets/setup_influxdb/tasks/setup.yml Metadatawaiting_on: maintainer |
@zhhuta, can you look at this PR? |
I've temporarily disabled this test in CI as it is conflicting with the |
* Added integration tests for influxdb_user * Tests for idempotency checking and check mode
SUMMARY
In this PR I've added integration tests for influxdb_user module.
For simplicity, I run tests only on Ubuntu 14.04 (as zabbix_host tests does).
ISSUE TYPE
COMPONENT NAME
influxdb_user
ANSIBLE VERSION
ADDITIONAL INFORMATION