/usr/lib/mysql-testsuite/t/percona_bug1201681.test is in percona-server-test-5.6 5.6.22-rel71.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Bug 1201681: Server with threadpool hangs during shutdown when there are
# open connections
-- source include/have_pool_of_threads.inc
--connect (con1,localhost,root,,)
# Write file to make mysql-test-run.pl wait for the server to stop
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
--echo # Request clean shutdown
--send_shutdown
--echo # Wait for disconect
--source include/wait_until_disconnected.inc
--echo # Restart server.
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
-- enable_reconnect
-- source include/wait_until_connected_again.inc
-- disable_reconnect
--connection con1
SELECT 1;
--disconnect con1
|