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 flaky cpp/Enum test #1321

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

jpeletier
Copy link
Contributor

CPP test Enum_query_union_enum was passing depending on compiler / platform due to query returning results in different order.

Fixed by adding all query results to a map and checking correct values deterministically.

Bug affects at least #1318, or whenever a new built-in component is added.

@SanderMertens
Copy link
Owner

Thanks for the PR!

@SanderMertens SanderMertens merged commit 43cb8ca into SanderMertens:master Aug 23, 2024
70 checks passed
@jpeletier jpeletier deleted the fix-enum-test branch August 23, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants