From eca6968963ff0bc1f7c8d78d1d2f0fc9e6c433e6 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 3 Feb 2008 18:43:05 +0100 Subject: [PATCH] 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. --- mysql-test/lib/mtr_report.pl | 14 ++++++++++++-- 1 file 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 }