jjn1056/Test-DBIx-Class — pull request #8 by lecstor (2011-12-03 14:48:57+00:00)
Title: Randomise the starting port to avoid issues with parallel testing.

- modified diag message to match Test::mysqld changes.

I've also submitted a pull request to Test::mysqld as tmpdir issues need to be fixed for that to work.

I'm trying to run my tests in parallel and easily got race conditions breaking to finding of a free port.
At first I added a new attribute for try_first_port so the user could specify a port, but I think the simple randomisation should prevent the issue 99.999% of the time..

cheers,

J