Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The overall motivating problem is that innocent uses of recursive-gen can yield a generator that occasionally generates absurdly large structures, often threatening to OOM or at least cause the test to take quite a long time (depending on what it does). - recursive-gen now generates scalars as well - The above change fixes TCHECK-83 (gen/any only generates collections) - sizing is now done in a much fancier manner, hopefully fixing TCHECK-32 (sizing problems with gen/any)
- Loading branch information
1 parent
69bb783
commit 838d8ac
Showing
2 changed files
with
77 additions
and
16 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