Skip to content

MNT Make the test_optics pass with parallelism enabled - #35466

Draft
itamarst wants to merge 2 commits into
scikit-learn:mainfrom
itamarst:35313-optics-thread-safety-take-2
Draft

itamarst wants to merge 2 commits into
scikit-learn:mainfrom
itamarst:35313-optics-thread-safety-take-2

Conversation

@itamarst

Copy link
Copy Markdown
Contributor

Part of #35313

This presumes the problem is with the test.

I am not completely certain that is the case; perhaps this is a bug and changing the test masks it...

@itamarst

Copy link
Copy Markdown
Contributor Author

Not sure what's up with the failure, it seems unrelated, and can't reproduce it locally. So added a debug improvement. Then:

  • If it fails again, hopefully will have more info and I can fix it or something.
  • If it doesn't fail, it's probably some stochastic failure and the extra debug info will be helpful when eventually it recurs.

@itamarst

Copy link
Copy Markdown
Contributor Author

Guess we're going with option B, intermittent failure due to parallelism. And I can't reproduce it locally...

In any case this means it shouldn't be a blocker for this PR.

This branch has not been deployed

No deployments
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