diff --git a/mysql-test/suite/innodb/r/recovery_shutdown.result b/mysql-test/suite/innodb/r/recovery_shutdown.result
index 861461dd07296b9b34838508176fc741aa6fdd89..47398c1ca230e48e4b707c39ce0f98846e55315b 100644
--- a/mysql-test/suite/innodb/r/recovery_shutdown.result
+++ b/mysql-test/suite/innodb/r/recovery_shutdown.result
@@ -52,5 +52,5 @@ INSERT INTO t1(a) SELECT NULL FROM t1;
 INSERT INTO t1(a) SELECT NULL FROM t1;
 SET GLOBAL innodb_flush_log_at_trx_commit=1;
 CREATE TABLE u(a SERIAL) ENGINE=INNODB;
-# Kill and restart
+FLUSH TABLES;
 DROP TABLE t,u;
diff --git a/mysql-test/suite/innodb/t/recovery_shutdown.test b/mysql-test/suite/innodb/t/recovery_shutdown.test
index 28b80cd3818d05bd8a81a3d58b2a9bfd5d3acb8b..42d98ca34c705ca1ec96449442c5bf06ae18b965 100644
--- a/mysql-test/suite/innodb/t/recovery_shutdown.test
+++ b/mysql-test/suite/innodb/t/recovery_shutdown.test
@@ -41,7 +41,11 @@ INSERT INTO t1(a) SELECT NULL FROM t1;
 SET GLOBAL innodb_flush_log_at_trx_commit=1;
 CREATE TABLE u(a SERIAL) ENGINE=INNODB;
 
---source include/kill_and_restart_mysqld.inc
+FLUSH TABLES;
+
+--let $shutdown_timeout=0
+--source include/restart_mysqld.inc
+--let $shutdown_timeout=60
 --source include/restart_mysqld.inc
 
 --disable_query_log