diff options
author | unknown <mkindahl@dl145h.mysql.com> | 2008-02-03 18:43:05 +0100 |
---|---|---|
committer | unknown <mkindahl@dl145h.mysql.com> | 2008-02-03 18:43:05 +0100 |
commit | eca6968963ff0bc1f7c8d78d1d2f0fc9e6c433e6 (patch) | |
tree | 429e824146809b4fefdebbbe5556a17447662cf5 /mysql-test/lib | |
parent | 5d66c3565a54bec1773206a22cff2f7922c87027 (diff) | |
download | mariadb-git-eca6968963ff0bc1f7c8d78d1d2f0fc9e6c433e6.tar.gz |
Removing expected errors from slave from the warnings file.
mysql-test/lib/mtr_report.pl:
Removing some expected warnings and errors from the slave for
tests rpl_idempotency and rpl_skip_error.
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_report.pl | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl index 074dcc68a10..ad7142489fe 100644 --- a/mysql-test/lib/mtr_report.pl +++ b/mysql-test/lib/mtr_report.pl @@ -367,8 +367,18 @@ sub mtr_report_stats ($) { # master /Slave: Unknown column 'c7' in 't15' Error_code: 1054/ or /Slave: Can't DROP 'c7'.* 1091/ or - /Slave: Key column 'c6'.* 1072/ - ) + /Slave: Key column 'c6'.* 1072/ or + + # rpl_idempotency.test produces warnings for the slave. + ($testname eq 'rpl.rpl_idempotency' and + (/Slave: Can\'t find record in \'t1\' Error_code: 1032/ or + /Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452/ + )) or + + # rpl_skip_error produce an error which is skipped (slave does not stop) + ($testname eq 'rpl.rpl_skip_error' and + /Failed to write to mysql\.general_log/) + ) { next; # Skip these lines } |