mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-28 08:51:46 -07:00
Add changes from stable-1 integrations tests (PR 418)
This commit is contained in:
parent
97318559e5
commit
aa7818f922
12 changed files with 47 additions and 24 deletions
|
@ -55,12 +55,12 @@
|
|||
- assert:
|
||||
that:
|
||||
- result is failed
|
||||
when: connector.name.0 is search('pymysql')
|
||||
when: connector_name is search('pymysql')
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is succeeded
|
||||
when: connector.name.0 is not search('pymysql')
|
||||
when: connector_name is not search('pymysql')
|
||||
|
||||
- name: attempt connection with newly created user ignoring hostname
|
||||
mysql_replication:
|
||||
|
|
|
@ -218,10 +218,13 @@
|
|||
fail_on_error: true
|
||||
register: result
|
||||
|
||||
# Task is changed with mysqlclient 2.0.1 and pymysql 0.9.3
|
||||
- assert:
|
||||
that:
|
||||
- result is not changed
|
||||
when: (pymysql_version.stdout | default('1000', true)) is version('0.9.3', '<=')
|
||||
- result is not changed
|
||||
when:
|
||||
- connector_name is search('pymysql')
|
||||
- connector_ver is version('0.9.3', '<=')
|
||||
|
||||
# Test stopreplica mode:
|
||||
- name: Stop replica
|
||||
|
@ -247,8 +250,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- result is not changed
|
||||
when: (pymysql_version.stdout | default('1000', true)) is version('0.9.3', '<=')
|
||||
- result is not changed
|
||||
|
||||
# master / slave related choices were removed in 3.0.0
|
||||
# https://github.com/ansible-collections/community.mysql/pull/252
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue