diff options
author | Andrei Elkin <andrei.elkin@mariadb.com> | 2020-05-19 21:57:01 +0300 |
---|---|---|
committer | Andrei Elkin <andrei.elkin@mariadb.com> | 2020-05-19 21:57:01 +0300 |
commit | 7a5ba59e5f55410e563f7b81238597cf63707e63 (patch) | |
tree | 61f9251b65a7c924a217431a09a427366e65318a /mysql-test/suite/rpl/t | |
parent | 395ed66b3b4e3b6b785e554ab9794161cef029cd (diff) | |
download | mariadb-git-7a5ba59e5f55410e563f7b81238597cf63707e63.tar.gz |
MDEV-22472 rpl.rpl_fail_register failed in buildbot with wrong result
This is a new test from upstream that did not expect the correct value
of the command slot of the Dump thread when the latter gets killed.
The test is made to expect "Killed" string as the command
in show-processlist as it is supposed to when a thread gets killed.
Diffstat (limited to 'mysql-test/suite/rpl/t')
-rw-r--r-- | mysql-test/suite/rpl/t/rpl_fail_register.test | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_fail_register.test b/mysql-test/suite/rpl/t/rpl_fail_register.test index bfecc9d7f14..3a37cc08f44 100644 --- a/mysql-test/suite/rpl/t/rpl_fail_register.test +++ b/mysql-test/suite/rpl/t/rpl_fail_register.test @@ -17,12 +17,11 @@ set global debug_dbug=@old_dbug; connection master; -### why is that needed? let $id=`SELECT id from information_schema.processlist where command='Binlog Dump'`; if ($id) { replace_result $id DUMP_THREAD; eval kill $id; - let $wait_condition= SELECT count(*)=0 from information_schema.processlist where command='Binlog Dump'; + let $wait_condition= SELECT count(*)=0 from information_schema.processlist where command='Killed'; source include/wait_condition.inc; } |