Bug #12433 | mysql-test-run.pl --suite argument seem to restart the mysqld on each test case | ||
---|---|---|---|
Submitted: | 8 Aug 2005 12:27 | Modified: | 8 Mar 2006 16:14 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S4 (Feature request) |
Version: | 5.0-wl1012 | OS: | Linux (Linux) |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
[8 Aug 2005 12:27]
Jonathan Miller
[8 Mar 2006 10:25]
Kent Boortz
Once you add a <testcase>-master.opt file, the server will be restarted with the options that file contains. And by design the server will restart after the test case to restore the initial state, or with a new special state. As an optimization now it is checked if the next test case would restart with the same options, then no server restart is done. This still means you have to give all tests that share options, individual .opt files with the same content. For the normal regression suite in 4.1, this change saves two restarts of the master, but with the --reorder option changed to sort on master options, it saves 9 restarts.
[8 Mar 2006 16:14]
Paul DuBois
No changelog entry needed.
[8 Mar 2006 18:16]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/3597