Skip to content

Commit

Permalink
MDEV-29982 fixup: Relax the test
Browse files Browse the repository at this point in the history
The log overwrite warnings are not being reliably emitted in all
debug-instrumented environments. It may be related to the
scheduling of some InnoDB internal activity, such as the purging
of committed transaction history.
  • Loading branch information
dr-m committed Nov 17, 2022
1 parent 4b3b1eb commit 41028d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions mysql-test/suite/encryption/r/innochecksum,debug.rdiff

This file was deleted.

2 changes: 1 addition & 1 deletion mysql-test/suite/encryption/t/innochecksum.test
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ print FILE pack("H*", "c00lcafedeadb017");
close FILE or die "close";
EOF

if ($have_debug) {
if (0 && $have_debug) { # these messages sometimes fail to appear
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
--let SEARCH_PATTERN= InnoDB: Crash recovery is broken due to insufficient innodb_log_file_size; last checkpoint LSN=\\d+, current LSN=\\d+\\. Shutdown is in progress\\..*InnoDB: Crash recovery was broken.*
--echo # FOUND 1 is expected for both.
Expand Down

0 comments on commit 41028d7

Please sign in to comment.