Repository navigation
pad: fix test instability - #9769
Conversation
Signed-off-by: Peter Gadfort <peter.gadfort@gmail.com>
|
clang-tidy review says "All clean, LGTM! 👍" |
There was a problem hiding this comment.
Code Review
The pull request refactors the PadDirectConnectionStraps::refineShapes and refineShape methods. Key changes include migrating from raw Shape* pointers to ShapePtr for improved memory management, simplifying the removal of shapes from ShapeTreeMap and ObstructionTreeMap, and refactoring the refineShape function to accept const references for all_shapes and all_obstructions. This refactoring moves the responsibility of updating these global shape maps to the calling refineShapes method, enhancing modularity and data flow clarity.
|
What was the problem that was fixed? I didn't quite follow |
It was this problem that test //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test fails randomly. I noticed that during #9578 where I changed from rand() to mt19937() for platform reproducability. |
|
I know that, I mean what was the problem in the code that caused that symptom. |
Closes #9611
Running test 100 times no longer produces failures.