Skip to content

Fix flaky LambdaSyntaxTest#460

Draft
braguex10 wants to merge 1 commit into
mpostol:masterfrom
braguex10:fix-lambda-syntax-test
Draft

Fix flaky LambdaSyntaxTest#460
braguex10 wants to merge 1 commit into
mpostol:masterfrom
braguex10:fix-lambda-syntax-test

Conversation

@braguex10

Copy link
Copy Markdown

This pull request fixes issue #443.

The LambdaSyntaxTest previously used Random to generate test data. Because of that, the number of values greater than or equal to 50 could occasionally fall outside the expected tolerance, causing the test to fail randomly.

The test data is now deterministic. The buffer contains exactly half values below 50 and half values greater than or equal to 50. This keeps the purpose of the test, which is to verify the lambda expression used by Count, while removing the random behavior.

@braguex10

Copy link
Copy Markdown
Author

Fixes #443.

@mpostol mpostol added question In progress In waiting Remaining inactive until something happen. labels Jun 10, 2026
@mpostol mpostol added this to the External Data Management milestone Jun 10, 2026
@mpostol

mpostol commented Jun 10, 2026

Copy link
Copy Markdown
Owner

I am not sure if the main goal for this example is preserved. Since it affects the master branch, it has to wait for the next tag.

@mpostol mpostol marked this pull request as draft June 10, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In progress In waiting Remaining inactive until something happen. question

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants