-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloud_storage/tests: adjust delta for restored partitions
when asserting that the size of a restored partition is close to the original partition in topic recovery tests, we use the default segment size and a multiplier of 1.5 to tolerate errors where the last segment of the ntp is not uploaded to tiered storage because it is open. sometimes the segment is larger than 1.5x the default size causing an assertion failure in the test. this change stores the last segment size for each partition and uses it as the tolerance size in assertions.
- Loading branch information
Showing
1 changed file
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters