mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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);
|
||||
return $completed;
|
||||
}
|
||||
elsif ($num_failed_test > 0 and
|
||||
elsif ($opt_max_test_fail > 0 and
|
||||
$num_failed_test >= $opt_max_test_fail) {
|
||||
$suite_timeout_proc->kill();
|
||||
mtr_report("Too many tests($num_failed_test) failed!",
|
||||
|
Reference in New Issue
Block a user