Skip to content
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

Make test_idle_thread_reuse more reliable #92

Merged
merged 1 commit into from Jan 9, 2020

Conversation

bmwiedemann
Copy link
Contributor

depending on machine load or other unknown influences
on the Linux scheduler, the test_idle_thread_reuse test would often fail with

   File "test_futures.py", line 558, in test_idle_thread_reuse
     self.assertEqual(len(executor._threads), 1)
 AssertionError: 2 != 1

This PR was done while working on reproducible builds for openSUSE.

depending on machine load or other unknown influences
on the Linux scheduler, this would often fail with

   File "test_futures.py", line 558, in test_idle_thread_reuse
     self.assertEqual(len(executor._threads), 1)
 AssertionError: 2 != 1
@agronholm agronholm merged commit 3fa5eb3 into agronholm:master Jan 9, 2020
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.

None yet

2 participants