Commit 264c330f authored by Bjorn Munch's avatar Bjorn Munch

Bug #48130 Expected failures should not count towards max-test-fail

Test batches may be terminated too early
Avoid counting exp-fail tests
parent 23306c56
......@@ -146,6 +146,7 @@ sub mtr_report_test ($) {
}
}
$fail = "exp-fail";
$tinfo->{exp_fail}= 1;
last;
}
}
......
......@@ -519,7 +519,8 @@ sub run_test_server ($$$) {
}
}
$num_saved_datadir++;
$num_failed_test++ unless $result->{retries};
$num_failed_test++ unless ($result->{retries} ||
$result->{exp_fail});
if ( !$opt_force ) {
# Test has failed, force is off
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment