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

Intermittent failure from test_traits_process_executor.TestTraitsExecutor.test_shutdown_timeout #412

Open
mdickinson opened this issue Jul 15, 2021 · 0 comments
Labels
component: tests type: bug Something isn't working

Comments

@mdickinson
Copy link
Member

I've seen the following failure locally a couple of times (usually while there are other CPU-intensive processes running on the machine), and once on CI. I'm fairly sure that this does not represent an issue with the business logic, but we may need to tweak the test. At a guess it's the rest of the process shutdown (e.g., the manager shutdown and the process pool shutdown) that's actually taking most of the time here.

======================================================================
FAIL: test_shutdown_timeout (traits_futures.tests.test_traits_process_executor.TestTraitsExecutor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mdickinson/Enthought/Projects/traits-futures/traits_futures/tests/traits_executor_tests.py", line 242, in test_shutdown_timeout
    self.assertLess(actual_timeout, 1.0)
AssertionError: 1.1583175519999998 not less than 1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tests type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant