mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
BUG#37834: mtr --max-test-fail=0 does not set max number of failed tests to unlimited
Problem: mtr --max-test-fail=0 should allow unlimited number of errors, but stops after the second error. Fix: It's just a typo in mysql-test-run.pl
This commit is contained in:
@ -451,7 +451,7 @@ sub run_test_server {
|
|||||||
push(@$completed, $result);
|
push(@$completed, $result);
|
||||||
return $completed;
|
return $completed;
|
||||||
}
|
}
|
||||||
elsif ($num_failed_test > 0 and
|
elsif ($opt_max_test_fail > 0 and
|
||||||
$num_failed_test >= $opt_max_test_fail) {
|
$num_failed_test >= $opt_max_test_fail) {
|
||||||
$suite_timeout_proc->kill();
|
$suite_timeout_proc->kill();
|
||||||
mtr_report("Too many tests($num_failed_test) failed!",
|
mtr_report("Too many tests($num_failed_test) failed!",
|
||||||
|
Reference in New Issue
Block a user