mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #43840 "too many tests failed" includes retries
Only count non-retried tests, and increment before testing
This commit is contained in:
@ -516,6 +516,7 @@ sub run_test_server ($$$) {
|
||||
}
|
||||
}
|
||||
$num_saved_datadir++;
|
||||
$num_failed_test++ unless $result->{retries};
|
||||
|
||||
if ( !$opt_force ) {
|
||||
# Test has failed, force is off
|
||||
@ -530,7 +531,6 @@ sub run_test_server ($$$) {
|
||||
"Terminating...");
|
||||
return undef;
|
||||
}
|
||||
$num_failed_test++;
|
||||
}
|
||||
|
||||
# Retry test run after test failure
|
||||
|
Reference in New Issue
Block a user