From 2f5e98264a5ddd2121a46162c66b15a730663fb0 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Mon, 15 Sep 2008 17:09:27 +0200 Subject: [PATCH] WL4189 Cap the autodetected parallelism value to 8 --- mysql-test/mysql-test-run.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index cd1007e24dc..53f916a630a 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -279,6 +279,7 @@ sub main { for my $limit (2000, 1500, 1000, 500){ $opt_parallel-- if ($sys_info->min_bogomips() < $limit); } + $opt_parallel= 8 if ($opt_parallel > 8); $opt_parallel= $num_tests if ($opt_parallel > $num_tests); $opt_parallel= 1 if ($opt_parallel < 1); mtr_report("Using parallel: $opt_parallel");