mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #48130 Expected failures should not count towards max-test-fail
Test batches may be terminated too early Avoid counting exp-fail tests
This commit is contained in:
@ -146,6 +146,7 @@ sub mtr_report_test ($) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$fail = "exp-fail";
|
$fail = "exp-fail";
|
||||||
|
$tinfo->{exp_fail}= 1;
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -519,7 +519,8 @@ sub run_test_server ($$$) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$num_saved_datadir++;
|
$num_saved_datadir++;
|
||||||
$num_failed_test++ unless $result->{retries};
|
$num_failed_test++ unless ($result->{retries} ||
|
||||||
|
$result->{exp_fail});
|
||||||
|
|
||||||
if ( !$opt_force ) {
|
if ( !$opt_force ) {
|
||||||
# Test has failed, force is off
|
# Test has failed, force is off
|
||||||
|
Reference in New Issue
Block a user