[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3412: Many tests are flaky

Tahoe-LAFS trac at tahoe-lafs.org
Fri Sep 25 15:50:28 UTC 2020


#3412: Many tests are flaky
-------------------------+------------------------------
     Reporter:  jaraco   |      Owner:  jaraco
         Type:  defect   |     Status:  assigned
     Priority:  normal   |  Milestone:  Support Python 3
    Component:  unknown  |    Version:  n/a
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+------------------------------

Comment (by jaraco):

 Turns out the problem is even more complicated than I imagined. As
 [[https://github.com/tahoe-lafs/tahoe-
 lafs/blob/51709d55629f45be19f2c89b2d8b17a149e19881/src/allmydata/test/web/test_web.py#L1126-L1150|illustrated
 here]], tests can create Deferred objects and does not even need to return
 them for them to be honored in the test results. And because the handling
 of those results is outside the scope of the method, there's no decorator
 on the method that can intervene when those deferred tests fail... at
 least, not without some support by the test runner.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3412#comment:16>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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