Skip to content

Commit

Permalink
Skip 'failed to reconcile' log if there was no failure
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684506309
  • Loading branch information
ksteuck authored and copybara-github committed Oct 10, 2024
1 parent 83fbbf4 commit e103150
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fuzzer/hashtest/hashtest_runner_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ std::vector<EndState> DetermineEndStates(ParallelWorkerPool& workers,
// Try to guess which end states are correct, based on the redundancy.
size_t bad =
ReconcileEndStates(absl::MakeSpan(end_states), compare1, compare2);
std::cout << "Failed to reconcile " << bad << " end states." << std::endl;
if (bad > 0) {
std::cout << "Failed to reconcile " << bad << " end states." << std::endl;
}

return end_states;
}
Expand Down

0 comments on commit e103150

Please sign in to comment.