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

Open
wants to merge 1 commit into
base: master
from

Conversation

@bmwiedemann
Copy link

commented Sep 18, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.