-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the random read behavior in StressWorkerBench
### What changes are proposed in this pull request? Improve the randomness of StressWorkerBench random read test, now each thread throw dice every time it trying to do a random read. ### Why are the changes needed? In previous StressWorkerBench random read test each thread read from same offset and same length everytime, this cause low randomness. ### Does this PR introduce any user facing changes? no pr-link: #18000 change-id: cid-974afb58c022061e8a6d8d6894415a8bd292b764
- Loading branch information
Showing
2 changed files
with
35 additions
and
32 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
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