closes #5419 account for actual time slept, not just how long we wanted to sleep, and set an alarm to make sure it doesn't take too long to end the test
closes #5419 account for actual time slept, not just how long we wanted to sleep, and set an alarm to make sure it doesn't take too long to end the test


git-svn-id: b5c078ec0b4d3a50497e9dd3081db18a5b4f16e5@49986 c7de825b-a66e-492c-adef-691d508d4ae1

davidl-zend/zenddbi,davidl-zend/zenddbi,flynn1973/mariadb-aix,natsys/mariadb_10.2,davidl-zend/zenddbi,ollie314/server,ollie314/server,davidl-zend/zenddbi,percona/PerconaFT,natsys/mariadb_10.2,kuszmaul/PerconaFT-tmp,ottok/PerconaFT,flynn1973/mariadb-aix,natsys/mariadb_10.2,natsys/mariadb_10.2,kuszmaul/PerconaFT,ollie314/server,davidl-zend/zenddbi,davidl-zend/zenddbi,ollie314/server,natsys/mariadb_10.2,flynn1973/mariadb-aix,davidl-zend/zenddbi,kuszmaul/PerconaFT-tmp,flynn1973/mariadb-aix,natsys/mariadb_10.2,kuszmaul/PerconaFT,ottok/PerconaFT,natsys/mariadb_10.2,kuszmaul/PerconaFT-tmp,natsys/mariadb_10.2,natsys/mariadb_10.2,ollie314/server,kuszmaul/PerconaFT-tmp,flynn1973/mariadb-aix,flynn1973/mariadb-aix,kuszmaul/PerconaFT,ollie314/server,ollie314/server,ottok/PerconaFT,ottok/PerconaFT,ollie314/server,davidl-zend/zenddbi,percona/PerconaFT,flynn1973/mariadb-aix,natsys/mariadb_10.2,slanterns/server,kuszmaul/PerconaFT,BohuTANG/ft-index,percona/PerconaFT,flynn1973/mariadb-aix,flynn1973/mariadb-aix,davidl-zend/zenddbi,BohuTANG/ft-index,flynn1973/mariadb-aix,flynn1973/mariadb-aix,ollie314/server,BohuTANG/ft-index,ollie314/server,davidl-zend/zenddbi,davidl-zend/zenddbi,natsys/mariadb_10.2,ollie314/server,BohuTANG/ft-index,percona/PerconaFT