Skip to content

Commit

Permalink
test: provide more time for deletions to occur
Browse files Browse the repository at this point in the history
I see the last check in ducktape was

  [INFO  - 2024-11-21 01:58:41,459 - topic_delete_test - topic_storage_purged - lineno:114]:   ip-172-31-45-99: 54-1-v1.log

And the “removed:” line in the broker logs was

  DEBUG 2024-11-21 01:58:42,717 [shard 1:main] storage - segment.cc:171 - removed: "/var/lib/redpanda/data/kafka/topic-rmahmpbiye/2_29/54-1-v1.log" size 1048868

which was 1 second later. This appears to just be a race.

Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Nov 21, 2024
1 parent 2496ac0 commit 8e0c607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rptest/tests/topic_delete_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ def topic_delete_unavailable_test(self, cloud_storage_type):
# Local storage deletion should proceed even if remote can't
wait_until(
lambda: topic_storage_purged(self.redpanda, self.topic),
timeout_sec=30,
backoff_sec=1,
timeout_sec=90,
backoff_sec=10,
err_msg=
"Local storage purge did not complete while cloud storage was unavailable"
)
Expand Down

0 comments on commit 8e0c607

Please sign in to comment.