Commit de34d942 authored by Bjorn Munch's avatar Bjorn Munch

Bug #43840 "too many tests failed" includes retries

Only count non-retried tests, and increment before testing
parent fd6beee8
...@@ -516,6 +516,7 @@ sub run_test_server ($$$) { ...@@ -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 ($$$) { ...@@ -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
......
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