Skip to content

Commit

Permalink
Merge pull request redpanda-data#12478 from abhijat/issue/12234/ignor…
Browse files Browse the repository at this point in the history
…e-cache-clear-errors

ducktape/cloud_storage: Ignore trim failure in test with small cache
  • Loading branch information
piyushredpanda authored Jul 28, 2023
2 parents e2e6bdf + 4ff0e7b commit 21778aa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/rptest/tests/cloud_storage_chunk_read_path_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,16 @@ def test_read_when_chunk_api_disabled(self):

self._trim_and_verify()

@cluster(num_nodes=4, log_allow_list=["Exceeded cache size limit"])
@cluster(
num_nodes=4,
log_allow_list=[
"Exceeded cache size limit",
# Ignore trim related errors for small cache, expected
# due to part files being present when exhaustive trim
# runs, and being converted to full chunk files by the
# time trim gets to deleting them.
"failed to free sufficient space in exhaustive trim"
])
def test_read_when_cache_smaller_than_segment_size(self):
self.si_settings.cloud_storage_cache_size = 1048576 * 4
self.redpanda.set_si_settings(self.si_settings)
Expand Down

0 comments on commit 21778aa

Please sign in to comment.