Browse Source

WL4189 Cap the autodetected parallelism value to 8

pull/47/merge
Magnus Svensson 18 years ago
parent
commit
2f5e98264a
  1. 1
      mysql-test/mysql-test-run.pl

1
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");

Loading…
Cancel
Save