[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4126: Tests time out on CircleCI, subsequent 'unclean reactor' errors
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Nov 15 15:40:38 UTC 2024
#4126: Tests time out on CircleCI, subsequent 'unclean reactor' errors
-------------------------------+---------------------------
Reporter: hacklschorsch | Owner: hacklschorsch
Type: defect | Status: assigned
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
-------------------------------+---------------------------
Comment (by hacklschorsch):
A better fix to the dirty reactors might be to clean them up - and indeed,
!SystemTests does some reactor-cleanup dance in `tearDown()`, which
[https://docs.python.org/2/library/unittest.html#unittest.TestCase.tearDown
*should* also be called if a test fails] - but it seems that does not
always happen or always help.
> This is called even if the test method raised an exception
> [...]
> This method will only be called if the setUp() succeeds
Also see the discussion in https://stackoverflow.com/questions/39883058
/teardown-not-called-after-timeout-in-twisted-trial
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4126#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list