Port stable 1 ci changes (#423) (#424)

* 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

(cherry picked from commit 61586ae4cc)
This commit is contained in:
Laurent Indermühle 2022-08-17 11:30:34 +02:00 committed by GitHub
commit 8968f51533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 61 additions and 38 deletions

View file

@ -22,7 +22,7 @@
- name: assert output message changed value
assert:
that:
- "output.changed == {{ changed }}"
- "output.changed | bool == changed | bool"
- name: run mysql command to show variable
command: "{{ mysql_command }} \"-e show variables like '{{ var_name }}'\""
@ -31,6 +31,6 @@
- name: assert output mysql variable name and value
assert:
that:
- "result.changed == true"
- "result.changed | bool == true"
- "'{{ var_name }}' in result.stdout"
- "'{{ var_value }}' in result.stdout"