Skip to content

Use pytest fixture for multiprocessing Pool in XEB tests #6766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

pavoljuhas
Copy link
Collaborator

Direct Pool executions causes flaky test outcomes in internal test
framework. This change makes it easier to work around the problem.

No change in the effective test code.

@pavoljuhas pavoljuhas requested review from mrwojtek, vtomole and a team as code owners October 14, 2024 21:45
@CirqBot CirqBot added the size: M 50< lines changed <250 label Oct 14, 2024
@pavoljuhas pavoljuhas requested a review from mhucka October 14, 2024 21:47
Direct Pool executions causes flaky test outcomes in internal test
framework.  This change makes it easier to work around the problem.

No change in the effective test code.
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.83%. Comparing base (5718365) to head (9ed0fa5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6766   +/-   ##
=======================================
  Coverage   97.83%   97.83%           
=======================================
  Files        1077     1077           
  Lines       92672    92743   +71     
=======================================
+ Hits        90669    90739   +70     
- Misses       2003     2004    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mhucka mhucka left a comment

Choose a reason for hiding this comment

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

I looked at all the changes and they LTGM.

@pavoljuhas pavoljuhas merged commit 9ff9b6b into quantumlib:main Oct 14, 2024
37 checks passed
@pavoljuhas pavoljuhas deleted the deflake-xeb-tests branch October 14, 2024 22:02
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
…6766)

Direct Pool executions cause flaky test outcomes in our internal test
framework.  This change makes it easier to work around the problem.

No change in the effective test code.
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
…6766)

Direct Pool executions cause flaky test outcomes in our internal test
framework.  This change makes it easier to work around the problem.

No change in the effective test code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: M 50< lines changed <250
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants