Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
110148: sql/randgen: make insert values deterministic with a seed r=rharding6373 a=rharding6373 Previously, when randgen built values for an INSERT statement it used the rand library. This PR uses the passed in rand.Rand created from the test seed so that test failures can be reproduced deterministically using COCKROACH_RANDOM_SEED. Epic: None Informs: #109431 Release note: None Co-authored-by: rharding6373 <rharding6373@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
8 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