mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-27 16:31:47 -07:00
Add option to activate the fix on systems with bash
This commit is contained in:
parent
36bbc64def
commit
3fe6f9b73d
2 changed files with 26 additions and 10 deletions
|
@ -97,11 +97,11 @@
|
|||
that:
|
||||
- full_dump_without_t1 is failed
|
||||
- full_dump_without_t1.msg is search(
|
||||
"View 'db2.v1' references invalid table(s)")
|
||||
'references invalid table')
|
||||
- full_dump_without_t1_gz_without_fix is changed
|
||||
- full_dump_without_t1_gz_with_fix is failed
|
||||
- full_dump_without_t1_gz_with_fix.msg is search(
|
||||
"View 'db2.v1' references invalid table(s)")
|
||||
'references invalid table')
|
||||
|
||||
- name: Dumps errors | Distinct dump after drop t1 without compression
|
||||
community.mysql.mysql_db:
|
||||
|
@ -128,17 +128,16 @@
|
|||
register: dump_db2_without_t1_gz_with_fix
|
||||
ignore_errors: true
|
||||
|
||||
- name: Dumps errors | Check full dump
|
||||
- name: Dumps errors | Check distinct dump
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- dump_db2_without_t1 is failed
|
||||
- dump_db2_without_t1.msg is search(
|
||||
"View 'db2.v1' references invalid table(s)")
|
||||
'references invalid table')
|
||||
- dump_db2_without_t1_gz_without_fix is changed
|
||||
- dump_db2_without_t1_gz_with_fix is failed
|
||||
- dump_db2_without_t1_gz_with_fix.msg is search(
|
||||
"View 'db2.v1' references invalid table(s)")
|
||||
|
||||
'references invalid table')
|
||||
- name: Dumps errors | Cleanup
|
||||
community.mysql.mysql_db:
|
||||
name:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue