community.mysql/tests/integration/targets
Laurent Indermühle 5108ca5e66
Fix mysqldump ignoring errors (#403)
* Add schema and tables for the tests

* Add tests for full dump with and without compression

* Add test for distinct dump with and without compression

* Fix sh not seeing errors for command before the pipe

sh is missing the pipefail flag. We must use bash for this.

* Add cleanup to prevent the following tests from failing

* Fix fqcn in module_defaults

* Add changelog fragment

* Add check to the error message to ensure we captured the right one

* Add option to activate the fix on systems with bash

* Fix errors when data schema is already absent

* Update changelogs/fragments/fix-256-mysql_dump-errors.yml

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* Add markup for commands in the documentation string

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* Add markup and next release version in the documentation string

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* Fix missing dependency for MySQL 8

* Add pipefail to tests of uncompressed dumps to enure it still works

* Fix "bash command not found" if pipefail is used for uncompressed dump

* Fix sanity pep8

* Document example of dump with pipefail

* Add dedpulication to command construct

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2022-06-30 06:54:26 +02:00
..
setup_mysql Fix mysqldump ignoring errors (#403) 2022-06-30 06:54:26 +02:00
setup_remote_tmp_dir CI tests: add a note not to use tests as an example of writing roles (#32) 2020-09-28 08:15:47 +03:00
test_mysql_db Fix mysqldump ignoring errors (#403) 2022-06-30 06:54:26 +02:00
test_mysql_info Feature/mariadb integration ci (#246) 2021-12-14 09:30:46 +01:00
test_mysql_query mysql_query: fix false change reports when IF NOT EXISTS clause is used (#322) 2022-05-25 16:19:31 +02:00
test_mysql_replication mysql_replication: set MASTER_SSL=0 when primary_ssl is set to no (#397) 2022-06-13 08:13:58 +02:00
test_mysql_role mysql_role: add argument "members_must_exist" (#369) 2022-05-27 12:11:17 +02:00
test_mysql_user mysql_user: add "update_password: on_new_username" argument, "password_changed" result field (#365) 2022-05-31 16:00:24 +02:00
test_mysql_variables Feature/mariadb integration ci (#246) 2021-12-14 09:30:46 +01:00