mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-24 05:40:25 -07:00
Port stable 1 ci changes (#423)
* Add changes from stable-1 integrations tests (PR 418) * Refactor to use connectors' info declared in setup_mysql * Fix 2nd replication stop marked changed by mysqlclient
This commit is contained in:
parent
057f817111
commit
61586ae4cc
15 changed files with 61 additions and 38 deletions
|
@ -155,15 +155,15 @@
|
|||
mysql_variables:
|
||||
<<: *mysql_params
|
||||
variable: max_connect_errors
|
||||
value: -1
|
||||
value: '-1'
|
||||
register: oor_result
|
||||
ignore_errors: true
|
||||
|
||||
- include: assert_var.yml changed=true output={{ oor_result }} var_name=max_connect_errors var_value=1
|
||||
when: connector.name.0 is not search('pymysql')
|
||||
when: connector_name is not search('pymysql')
|
||||
|
||||
- include: assert_fail_msg.yml output={{ oor_result }} msg='Truncated incorrect'
|
||||
when: connector.name.0 is search('pymysql')
|
||||
when: connector_name is search('pymysql')
|
||||
|
||||
# ============================================================
|
||||
# Verify mysql_variable fails when setting an incorrect value (incorrect type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue