-
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.
storage: fix test partition_size_while_cleanup
This test was racy. Two functional changes are made: - flush the log after writes: this makes the readable range deterministic. - modify the success condition to say that log byte count must equal sum of readable batch byte count (which is now all batches because of the flush). Also add several extra assertions so that the test's expectations are clearer & if something goes wrong it'll fail earlier. Fixes #5179
- Loading branch information
Showing
1 changed file
with
43 additions
and
8 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