Commit 8d576bcb authored by Alexander Barkov's avatar Alexander Barkov

Test cleanup for Monty's bce807f7

Recording mtr.add_suppression("Could not use .*")
instead of mtr.add_suppression("Could not open .*")
in tests:
- binlog_encryption.rpl_binlog_errors
- binlog_encryption.binlog_index
parent 99a28709
...@@ -2,7 +2,7 @@ call mtr.add_suppression('Attempting backtrace'); ...@@ -2,7 +2,7 @@ call mtr.add_suppression('Attempting backtrace');
call mtr.add_suppression('MYSQL_BIN_LOG::purge_logs failed to process registered files that would be purged.'); call mtr.add_suppression('MYSQL_BIN_LOG::purge_logs failed to process registered files that would be purged.');
call mtr.add_suppression('MYSQL_BIN_LOG::open failed to sync the index file'); call mtr.add_suppression('MYSQL_BIN_LOG::open failed to sync the index file');
call mtr.add_suppression('Turning logging off for the whole duration of the MySQL server process.'); call mtr.add_suppression('Turning logging off for the whole duration of the MySQL server process.');
call mtr.add_suppression('Could not open .*'); call mtr.add_suppression('Could not use .*');
call mtr.add_suppression('MYSQL_BIN_LOG::purge_logs failed to clean registers before purging logs.'); call mtr.add_suppression('MYSQL_BIN_LOG::purge_logs failed to clean registers before purging logs.');
flush tables; flush tables;
RESET MASTER; RESET MASTER;
......
...@@ -173,7 +173,7 @@ SET SQL_LOG_BIN=1; ...@@ -173,7 +173,7 @@ SET SQL_LOG_BIN=1;
SET GLOBAL debug_dbug=@old_debug; SET GLOBAL debug_dbug=@old_debug;
###################### TEST #10 ###################### TEST #10
call mtr.add_suppression("MYSQL_BIN_LOG::open failed to sync the index file."); call mtr.add_suppression("MYSQL_BIN_LOG::open failed to sync the index file.");
call mtr.add_suppression("Could not open .*"); call mtr.add_suppression("Could not use .*");
RESET MASTER; RESET MASTER;
SHOW WARNINGS; SHOW WARNINGS;
Level Code Message Level Code Message
...@@ -233,7 +233,7 @@ include/rpl_reset.inc ...@@ -233,7 +233,7 @@ include/rpl_reset.inc
connection slave; connection slave;
call mtr.add_suppression("Slave I/O: Relay log write failure: could not queue event from master.*"); call mtr.add_suppression("Slave I/O: Relay log write failure: could not queue event from master.*");
call mtr.add_suppression("Error writing file .*"); call mtr.add_suppression("Error writing file .*");
call mtr.add_suppression("Could not open .*"); call mtr.add_suppression("Could not use .*");
call mtr.add_suppression("MYSQL_BIN_LOG::open failed to sync the index file."); call mtr.add_suppression("MYSQL_BIN_LOG::open failed to sync the index file.");
call mtr.add_suppression("Can't generate a unique log-filename .*"); call mtr.add_suppression("Can't generate a unique log-filename .*");
###################### TEST #13 ###################### TEST #13
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment