summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/ibuf_not_empty.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/ibuf_not_empty.test')
-rw-r--r--mysql-test/suite/innodb/t/ibuf_not_empty.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/ibuf_not_empty.test b/mysql-test/suite/innodb/t/ibuf_not_empty.test
index 33118ad6bf5..d0264e85678 100644
--- a/mysql-test/suite/innodb/t/ibuf_not_empty.test
+++ b/mysql-test/suite/innodb/t/ibuf_not_empty.test
@@ -77,6 +77,12 @@ check table t1;
--let $restart_parameters=
--source include/restart_mysqld.inc
+
+# Ensure that the slow shutdown will not time out due to running purge.
+SET GLOBAL innodb_purge_rseg_truncate_frequency=1;
+--source include/wait_all_purged.inc
+# The change buffer merge for the injected corruption must complete
+# without exceeding the 60-second shutdown_server timeout.
SET GLOBAL innodb_fast_shutdown=0;
--source include/restart_mysqld.inc