Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix infinite loop in test_str_to_map_expr_random_delimiters #10016

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Dec 11, 2023

Fixes #10012. test_str_to_map_expr_random_delimiters could infinitely loop if the data generator emitted two identical scalars. Updated the test to use a custom data generator that only emits unique values. Manually verified that the custom generator is retrying the underlying data generator for the specific DATAGEN_SEED value that originally triggered the infinite loop.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the test Only impacts tests label Dec 11, 2023
@jlowe jlowe self-assigned this Dec 11, 2023
@jlowe
Copy link
Member Author

jlowe commented Dec 11, 2023

build

@jlowe
Copy link
Member Author

jlowe commented Dec 11, 2023

CI failed due to unrelated issue, filed #10017

@jlowe
Copy link
Member Author

jlowe commented Dec 11, 2023

build

@mattahrens mattahrens merged commit 38eb267 into NVIDIA:branch-24.02 Dec 12, 2023
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] test_str_to_map_expr_random_delimiters with DATAGEN_SEED=1702166057 hangs
3 participants