Skip to content

Commit

Permalink
Merge pull request redpanda-data#11433 from abhijat/issues/9587/chang…
Browse files Browse the repository at this point in the history
…e-upload-check

ducktape: Change condition for upload check to pass when all segments are uploaded
  • Loading branch information
piyushredpanda committed Jun 15, 2023
2 parents e77e852 + bf8e2ed commit 3f9698f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/tests/retention_policy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def cloud_log_segment_count() -> int:
f"Waiting for {local_seg_count - 1} segments to be uploaded to the cloud"
)
# Wait for everything to be uploaded to the cloud.
wait_until(lambda: cloud_log_segment_count() == local_seg_count - 1,
wait_until(lambda: cloud_log_segment_count() >= local_seg_count - 1,
timeout_sec=10,
backoff_sec=2,
err_msg=f"Segments not uploaded")
Expand Down

0 comments on commit 3f9698f

Please sign in to comment.