Skip to content

Commit

Permalink
Merge pull request redpanda-data#14113 from vbotbuildovich/backport-p…
Browse files Browse the repository at this point in the history
…r-14032-v23.2.x-106

[v23.2.x] cloud_storage/ducktape: Wait for chunk observer to stop
  • Loading branch information
piyushredpanda authored Oct 16, 2023
2 parents 1923409 + d4fb1f3 commit 64cd00f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/rptest/tests/cloud_storage_chunk_read_path_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,9 @@ def test_read_when_cache_smaller_than_segment_size(self):

self._consume_baseline(timeout=180, max_msgs=read_count)
observe_cache_dir.stop()
observe_cache_dir.join(timeout=10)
assert not observe_cache_dir.is_alive(
), 'cache observer is unexpectedly alive'

self._assert_not_in_cache(fr'.*kafka/{self.topic}/.*\.log\.[0-9]+$')
self._assert_in_cache(f'.*kafka/{self.topic}/.*_chunks/[0-9]+')
Expand Down

0 comments on commit 64cd00f

Please sign in to comment.