Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Oct 11, 2024
1 parent 2b7712d commit bbc3d56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_new_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,9 @@ def test_sharded_cache_writer_trims_on_resume():
for ex in batched(source.open_shard(shard_name), 8):
writer.write_batch(shard_name, processor(ex))

for shard_name in source.shard_names:
writer.finish_shard(shard_name, 10)

writer.finish()

# now deliberately truncate the ledger a bit
Expand Down

0 comments on commit bbc3d56

Please sign in to comment.