Skip to content

Commit

Permalink
Update server/tests/trim_gap_handling.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Till Rohrmann <[email protected]>
  • Loading branch information
pcholakov and tillrohrmann committed Jan 7, 2025
1 parent 41a830c commit 9fefda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tests/trim_gap_handling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async fn trim_log(
.await?
.into_inner();

if response.trim_point.is_some_and(|tp| tp == trim_point) {
if response.trim_point.is_some_and(|tp| tp >= trim_point) {
break;
}

Expand Down

0 comments on commit 9fefda5

Please sign in to comment.