Commit cf721d23 authored by Daniel Black's avatar Daniel Black Committed by Vicențiu Ciorbaru

MDEV-9257: Increase limit on parallel workers in mysql-test-run

Signed-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
parent 05bb3b9f
......@@ -1801,9 +1801,12 @@ sub set_build_thread_ports($) {
if ( lc($opt_build_thread) eq 'auto' ) {
my $found_free = 0;
$build_thread = 300; # Start attempts from here
my $build_thread_upper = $build_thread + ($opt_parallel > 1500
? 3000
: 2 * $opt_parallel);
while (! $found_free)
{
$build_thread= mtr_get_unique_id($build_thread, 349);
$build_thread= mtr_get_unique_id($build_thread, $build_thread_upper);
if ( !defined $build_thread ) {
mtr_error("Could not get a unique build thread id");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment