Bug #27034 Wrong info on port switching for test suite
Submitted: 11 Mar 2007 16:39 Modified: 15 Jun 2007 14:19
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:all OS:Any (all)
Assigned to: Paul DuBois CPU Architecture:Any
Tags: documentation, MTR_BUILD_THREAD, port, test suite

[11 Mar 2007 16:39] Giuseppe Maxia
The documentation for the test suite says that, if you want to use a different port instead of the default 9306/08, you should "edit mysql-test-run and change the values of the master or slave port to one that is available."


The recommended way should be:
Set the MTR_BUILD_THREAD environment variable to an appropriate value, and the test suite will use a different set of ports for master, slave, NDB, and IM).
For example:

$ export MTR_BUILD_THREAD=31
$ ./mysql-test-run.pl [--any-option] [any test name]

How to repeat:
Try the above example

Suggested fix:
Amend the documentation
[15 Jun 2007 14:19] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

Updated the Reference Manual, and the mysqltest manual.