mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Make a test more robust
The redo log is divided into 512-byte blocks. Sometimes, some of the strings end up at a block boundary and will not be found. Look for only one match.
This commit is contained in:
@ -75,7 +75,7 @@ INSERT INTO t0 VALUES(NULL, 5, 5, 'public', 'gossip');
|
||||
--echo # ib_logfile0 expecting NOT FOUND
|
||||
-- let SEARCH_FILE=$MYSQLD_DATADIR/ib_logfile0
|
||||
-- source include/search_pattern_in_file.inc
|
||||
--let SEARCH_PATTERN=public|gossip
|
||||
--let SEARCH_PATTERN=(public|gossip).*
|
||||
--echo # ib_logfile0 expecting FOUND
|
||||
-- let SEARCH_FILE=$MYSQLD_DATADIR/ib_logfile0
|
||||
-- source include/search_pattern_in_file.inc
|
||||
|
Reference in New Issue
Block a user