[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2352: dead code/bug in error-handling in mutable.layout.MDMFSlotWriteProxy._write

Tahoe-LAFS trac at tahoe-lafs.org
Fri Dec 19 17:31:31 UTC 2014


#2352: dead code/bug in error-handling in mutable.layout.MDMFSlotWriteProxy._write
-------------------------+-----------------------
     Reporter:  zooko    |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  1.10.0
   Resolution:           |   Keywords:  easy
Launchpad Bug:           |
-------------------------+-----------------------
Changes (by zooko):

 * keywords:   => easy


Comment:

 To close this ticket, [wiki:HowToWriteTests run the unit tests with code
 coverage], inspect the code coverage results around these lines here, then
 remove the handling of `Failure` inside `_result()` and re-run the
 complete unit tests, with code coverage, and examine the code coverage
 results again. I've already looked for whether there is an unhandled error
 path here, and I think I concluded that any error here gets handled in
 this code, but you should perhaps keep your wits about you and try to
 double-check that belief as you go.

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


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