diff options
| author | Yuchen Pei <yuchen.pei@mariadb.com> | 2023-01-18 11:51:28 +1100 |
|---|---|---|
| committer | Yuchen Pei <yuchen.pei@mariadb.com> | 2023-03-22 11:55:57 +1100 |
| commit | 7c91082e393f1817401b334b3d3584b401d909d7 (patch) | |
| tree | 9f2b6bdb37dca14e4e65a6d92a8f0cde14eee1d8 /sql/sql_repl.cc | |
| parent | e0560fc4cfa7b40dd3083a1b78c873ec51689cff (diff) | |
| download | mariadb-git-7c91082e393f1817401b334b3d3584b401d909d7.tar.gz | |
MDEV-27912 Fixing inconsistency w.r.t. expect files in tests.
mtr uses group suffix, but some existing inc and test files use
server_id for expect files. This patch aims to fix that.
For spider:
With this change we will not have to maintain a separate version of
restart_mysqld.inc for spider, that duplicates code, just because
spider tests use different names for expect files, and shutdown_mysqld
requires magical names for them.
With this change spider tests will also be able to use other features
provided by restart_mysqld.inc without code duplication, like the
parameter $restart_parameters (see e.g. the testcase mdev_29904.test
in commit ef1161e5d4f).
Tests run after this change: default, spider, rocksdb, galera, using
the following command
mtr --parallel=auto --force --max-test-fail=0 --skip-core-file
mtr --suite spider,spider/*,spider/*/* \
--skip-test="spider/oracle.*|.*/t\..*" --parallel=auto --big-test \
--force --max-test-fail=0 --skip-core-file
mtr --suite galera --parallel=auto
mtr --suite rocksdb --parallel=auto
Diffstat (limited to 'sql/sql_repl.cc')
0 files changed, 0 insertions, 0 deletions
