summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2016-06-16 22:00:16 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2016-06-16 22:02:45 +0300
commitc7eef029533d71d1c83c231dde065184589930f7 (patch)
treee2194fbf0b2817cb7321a6740a08649bc5d9cdb0 /mysql-test
parent7ab7abdb51ab88664f12f1a7be3730aaa0a950db (diff)
downloadmariadb-git-c7eef029533d71d1c83c231dde065184589930f7.tar.gz
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.
Diffstat (limited to 'mysql-test')
-rwxr-xr-xmysql-test/mysql-test-run.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 63b18c6bebd..a85bed88395 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1803,7 +1803,7 @@ sub set_build_thread_ports($) {
$build_thread = 300; # Start attempts from here
my $build_thread_upper = $build_thread + ($opt_parallel > 1500
? 3000
- : 2 * $opt_parallel);
+ : 2 * $opt_parallel) + 300;
while (! $found_free)
{
$build_thread= mtr_get_unique_id($build_thread, $build_thread_upper);