Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sharedcache: Deflake TestSharedCacheRandomized
We can sometimes see flakes if rand.Int63 chooses a size of zero, as we feed that size into another Int63 call and it expects nonzero arguments. An example is https://github.com/cockroachdb/pebble/actions/runs/5907184465 This change fixes it by forcing a nonzero size.
- Loading branch information