Bug #43840 "too many tests failed" includes retries
Only count non-retried tests, and increment before testing
This commit is contained in:
parent
fd6beee8d7
commit
de34d942d3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user