Increase the number of default build thread ids possibilities
When running mysql-test-run without a parallel parameter, it might be impossible to find a free port.
This commit is contained in:
parent
7ab7abdb51
commit
c7eef02953
@ -1803,7 +1803,7 @@ sub set_build_thread_ports($) {
|
|||||||
$build_thread = 300; # Start attempts from here
|
$build_thread = 300; # Start attempts from here
|
||||||
my $build_thread_upper = $build_thread + ($opt_parallel > 1500
|
my $build_thread_upper = $build_thread + ($opt_parallel > 1500
|
||||||
? 3000
|
? 3000
|
||||||
: 2 * $opt_parallel);
|
: 2 * $opt_parallel) + 300;
|
||||||
while (! $found_free)
|
while (! $found_free)
|
||||||
{
|
{
|
||||||
$build_thread= mtr_get_unique_id($build_thread, $build_thread_upper);
|
$build_thread= mtr_get_unique_id($build_thread, $build_thread_upper);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user