Skip to content

Conversation

@rafaelmoresco
Copy link
Contributor

Testing instability on mock array. Issue is not reproducible in the gcp. Initial analysis with ASAN was not helpful, tests fail on floorplan stage due to memory leak.

Closes #9062

Signed-off-by: rafaelmoresco <[email protected]>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses test instability in the mock-array power test by introducing two key improvements. First, it sorts the list of pins to ensure a deterministic processing order, which is a solid approach to eliminate test flakiness. Second, it replaces an exact floating-point comparison with a tolerance-based check, making the power value verification more robust against minor precision variations. Both changes are well-implemented and should effectively improve the stability of the test.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: rafaelmoresco <[email protected]>
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

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.

mock-array is unstable

1 participant