[tahoe-lafs-trac-stream] [tahoe-lafs] #1852: test suite: find a way to prevent unclean reactor errors causing subsequent test failures

tahoe-lafs trac at tahoe-lafs.org
Thu Nov 22 23:29:27 UTC 2012


#1852: test suite: find a way to prevent unclean reactor errors causing subsequent
test failures
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  davidsarah
  davidsarah             |     Status:  new
         Type:  defect   |  Milestone:  undecided
     Priority:  normal   |    Version:  1.9.2
    Component:  code     |   Keywords:  test twisted-trial unclean reactor
   Resolution:           |  timeout hang
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 We should figure out whether [https://github.com/davidsarah/tahoe-
 lafs/blob/0350abb182f1fb6e4297f3c5942909a5498f5ba2/src/allmydata/util/deferredutil.py#L162
 WaitForDelayedCallsMixin] and pyutil's
 [//trac/pyutil/browser/trunk/pyutil/testutil.py?rev=249#L66
 clean_pending()] are each sufficient to solve our problem with errors in
 unit tests causing later unit tests to spurious fail-or-error, and if so
 which approach is better, and we should deprecate the other one.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1852#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list