enthought / traits-futures

Reactive background processing for TraitsUI applications
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Intermittent failure in `test_shutdown_timeout` in CI #506

Closed mdickinson closed 2 years ago

mdickinson commented 2 years ago

test_shutdown_timeout occasionally fails on CI:

======================================================================
FAIL: test_shutdown_timeout (traits_futures.tests.test_traits_process_executor.TestTraitsExecutor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\site-packages\traits_futures\tests\traits_executor_tests.py", line 242, in test_shutdown_timeout
    self.assertLess(actual_timeout, 1.0)
AssertionError: 1.219000000000051 not less than 1.0

First seen here: https://github.com/enthought/traits-futures/runs/7936411786?check_suite_focus=true

Unless this becomes frequent enough to be disruptive to development, I think we should probably leave this test alone.

mdickinson commented 2 years ago

Closing; this is a duplicate of #412