mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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_saved_datadir++;
|
||||||
|
$num_failed_test++ unless $result->{retries};
|
||||||
|
|
||||||
if ( !$opt_force ) {
|
if ( !$opt_force ) {
|
||||||
# Test has failed, force is off
|
# Test has failed, force is off
|
||||||
@ -530,7 +531,6 @@ sub run_test_server ($$$) {
|
|||||||
"Terminating...");
|
"Terminating...");
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
$num_failed_test++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Retry test run after test failure
|
# Retry test run after test failure
|
||||||
|
Reference in New Issue
Block a user