mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-20 09:21:25 -07:00
Fix assertion for mariadb
This commit is contained in:
parent
f9f185c050
commit
31d29057fa
1 changed files with 3 additions and 2 deletions
|
@ -147,7 +147,7 @@
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Verify mysql_variable fails when setting an incorrect value (out of range)
|
# Verify mysql_variable fails when setting an incorrect value (out of range)
|
||||||
#
|
#
|
||||||
- name: set mysql variable value to a number out of range
|
- name: Set mysql variable value to a number out of range
|
||||||
mysql_variables:
|
mysql_variables:
|
||||||
<<: *mysql_params
|
<<: *mysql_params
|
||||||
variable: max_connect_errors
|
variable: max_connect_errors
|
||||||
|
@ -157,7 +157,8 @@
|
||||||
|
|
||||||
- include: assert_var.yml changed=true output={{ oor_result }} var_name=max_connect_errors var_value=1
|
- include: assert_var.yml changed=true output={{ oor_result }} var_name=max_connect_errors var_value=1
|
||||||
when:
|
when:
|
||||||
- connector_name != 'pymysql'
|
- connector_name == 'mysqlclient'
|
||||||
|
- db_engine == 'mysql' # mysqlclient returns "changed" with MariaDB
|
||||||
|
|
||||||
- include: assert_fail_msg.yml output={{ oor_result }} msg='Truncated incorrect'
|
- include: assert_fail_msg.yml output={{ oor_result }} msg='Truncated incorrect'
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue