Skip to content

[Python] run [write/compare] in isolated process#117

Open
fredroy wants to merge 2 commits into
sofa-framework:masterfrom
fredroy:isolate_tests
Open

[Python] run [write/compare] in isolated process#117
fredroy wants to merge 2 commits into
sofa-framework:masterfrom
fredroy:isolate_tests

Conversation

@fredroy

@fredroy fredroy commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

While trying to use the new python regression suite on BeamAdapter, I stumbled on a weird problem:
after generating regression data and then immediately check the tests, there was a regression error in 3instruments_collis.
After investigation, by Claude, it appears that if the regression tests are done individually, no errors are reported.
The conclusion is that there is some leaks in BeamAdapter (statics/?) polluting the sequence of tests.

The general solution (because it can appear in other situations) is to isolate each test, in their own process, to guarantee the correctness/consistency of the test(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant