-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iterator_test: Add invalidatingIter wrapper that sets last key/val to 1s
This change builds off a discussion in #572 around better testing of reuse of unsafe iterator key/value slices. This change adds an invalidatingIter wrapper that sets the last key/value slice to 1s after eve ry positioning call. This wrapper is used for the main iterator datadriven tests, as well as all tests involving fakeIter. Fixes #574.
- Loading branch information
Showing
1 changed file
with
84 additions
and
3 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