Skip to content

Commit 4f7faa4

Browse files
MDEV-36650 Unexpected checkpoint in the test innodb.doublewrite
innodb.doublewrite: Skip the test case if we get an unexpected checkpoint. This could happen because page cleaner thread could be active after reading the initial checkpoint information.
1 parent 3944655 commit 4f7faa4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mysql-test/suite/innodb/t/doublewrite.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ connection default;
6060

6161
flush table t1 for export;
6262

63-
--let CLEANUP_IF_CHECKPOINT=drop table t1, unexpected_checkpoint;
63+
# If we are skipping the test at this point due to an unexpected
64+
# checkpoint then page cleaner could be active after reading the
65+
# initial checkpoint information
66+
--let CLEANUP_IF_CHECKPOINT=XA COMMIT 'x'; drop table t1;
6467
--source ../include/no_checkpoint_end.inc
6568

6669
--copy_file $MYSQLD_DATADIR/ibdata1 $MYSQLD_DATADIR/ibdata1.bak

0 commit comments

Comments
 (0)