Bug #19312 tests should be parallelizable
Submitted: 24 Apr 2006 21:01 Modified: 21 Jan 2009 13:22
Reporter: Chad MILLER Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any

[24 Apr 2006 21:01] Chad MILLER
Description:
Tests take way too long to run.  Most time is spent waiting (on I/O?), so this is a perfect place to run several tests at once.

How to repeat:
- 

Suggested fix:
Abolish the line-per-testfile output.  Passing tests are the norm; when we hit something exceptional, we print a note about it.

Gather all tests that can be run using the same server configuration (like "--reorder") and spawn them to run in parallel against the server, always keeping N tests running (where N is either set by the user, or is calculated based on the amount of available RAM).

Then, iterate through the server configurations that require testing.

Implementation note:  We use  test.t1  everywhere, we'll have to change those names (either of the database or of the test-tables).  Both require changing the test files, to some extent.
[24 Jul 2006 12:02] Valeriy Kravchuk
Thank you for a reasonable feature request. I hope, it is in some WL already...
[21 Jan 2009 13:22] Bjørn Munch
This has been implemented in MTR 2, no need to keep this bug open