Two performance additions. 1) Use the -e option to mysqldump to turn
of "fast insert" mode. That option plus a couple of others makes duplicating the DB 3-4x faster. Add a DB table of tables to prune out of the copy before creating the clean DB. There is a lot of stuff in the DB that is not needed for the testsuite, and the constant copies churn the DB for little reason.
Showing with 35 additions and 8 deletions