Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb80414

Browse files
Add missing tests
1 parent 08dbce6 commit bb80414

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

tests/integration/targets/test_mysql_user/tasks/test_user_plugin_auth.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -595,44 +595,44 @@
595595
register: result
596596
failed_when: result is not changed
597597

598-
# - name: Plugin auth | Check that the expected plugin type is set (not changed)
599-
# ansible.builtin.include_tasks: utils/assert_plugin.yml
600-
# vars:
601-
# user_name: "{{ test_user_name }}"
602-
# plugin_type: "{{ test_plugin_type }}"
603-
604-
# - name: Plugin auth | Change auth user plugin
605-
# community.mysql.mysql_user:
606-
# <<: *mysql_params
607-
# name: "{{ test_user_name }}"
608-
# host: '%'
609-
# plugin: caching_sha2_password
610-
# plugin_auth_string: "{{ test_plugin_auth_string }}"
611-
# salt: "{{ test_salt }}"
612-
# priv: "{{ test_default_priv }}"
613-
# register: result
614-
# failed_when: result is not changed
615-
616-
# - name: Plugin auth | Check that the expected (new) plugin type is set
617-
# ansible.builtin.include_tasks: utils/assert_plugin.yml
618-
# vars:
619-
# user_name: "{{ test_user_name }}"
620-
# plugin_type: caching_sha2_password
621-
622-
# - name: Plugin auth | Change auth user plugin again (should not change)
623-
# community.mysql.mysql_user:
624-
# <<: *mysql_params
625-
# name: "{{ test_user_name }}"
626-
# host: '%'
627-
# plugin: caching_sha2_password
628-
# plugin_auth_string: "{{ test_plugin_auth_string }}"
629-
# salt: "{{ test_salt }}"
630-
# priv: "{{ test_default_priv }}"
631-
# register: result
632-
# failed_when: result is changed
633-
634-
# - name: Plugin auth | Check that the expected (not changed) plugin type is set
635-
# ansible.builtin.include_tasks: utils/assert_plugin.yml
636-
# vars:
637-
# user_name: "{{ test_user_name }}"
638-
# plugin_type: caching_sha2_password
598+
- name: Plugin auth | Check that the expected plugin type is set (not changed)
599+
ansible.builtin.include_tasks: utils/assert_plugin.yml
600+
vars:
601+
user_name: "{{ test_user_name }}"
602+
plugin_type: "{{ test_plugin_type }}"
603+
604+
- name: Plugin auth | Change auth user plugin
605+
community.mysql.mysql_user:
606+
<<: *mysql_params
607+
name: "{{ test_user_name }}"
608+
host: '%'
609+
plugin: caching_sha2_password
610+
plugin_auth_string: "{{ test_plugin_auth_string }}"
611+
salt: "{{ test_salt }}"
612+
priv: "{{ test_default_priv }}"
613+
register: result
614+
failed_when: result is not changed
615+
616+
- name: Plugin auth | Check that the expected (new) plugin type is set
617+
ansible.builtin.include_tasks: utils/assert_plugin.yml
618+
vars:
619+
user_name: "{{ test_user_name }}"
620+
plugin_type: caching_sha2_password
621+
622+
- name: Plugin auth | Change auth user plugin again (should not change)
623+
community.mysql.mysql_user:
624+
<<: *mysql_params
625+
name: "{{ test_user_name }}"
626+
host: '%'
627+
plugin: caching_sha2_password
628+
plugin_auth_string: "{{ test_plugin_auth_string }}"
629+
salt: "{{ test_salt }}"
630+
priv: "{{ test_default_priv }}"
631+
register: result
632+
failed_when: result is changed
633+
634+
- name: Plugin auth | Check that the expected (not changed) plugin type is set
635+
ansible.builtin.include_tasks: utils/assert_plugin.yml
636+
vars:
637+
user_name: "{{ test_user_name }}"
638+
plugin_type: caching_sha2_password

0 commit comments

Comments
 (0)