[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3882: Flaky hypothesis test in test_storage_http

Tahoe-LAFS trac at tahoe-lafs.org
Fri Mar 18 14:36:12 UTC 2022


#3882: Flaky hypothesis test in test_storage_http
--------------------------+-----------------------------------
     Reporter:  itamarst  |      Owner:
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:  HTTP Storage Protocol
    Component:  unknown   |    Version:  n/a
   Resolution:            |   Keywords:
Launchpad Bug:            |
--------------------------+-----------------------------------

Comment (by itamarst):

 * Running a manual test of just `urandom()`, I can't make it block (which
 matches documented behavior), so that suggests it probably is not the
 issue.
 * Adding `@hypothesis.settings(max_examples=5000)` makes tests fail pretty
 consistently. Disabling GC makes them start passing again.

 So it's probably GC.

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


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