[tahoe-dev] [tahoe-lafs] #1191: unit test failure: failed to download file with 2 shares on one server and one share on another
tahoe-lafs
trac at tahoe-lafs.org
Tue Sep 7 07:19:30 UTC 2010
#1191: unit test failure: failed to download file with 2 shares on one server and
one share on another
------------------------------------+---------------------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.8.0
Component: code-peerselection | Version: 1.8β
Resolution: | Keywords: immutable download
Launchpad Bug: |
------------------------------------+---------------------------------------
Comment (by zooko):
Okay I've written a test of {{{ShareFinder}}} in which everything that is
provided to the {{{ShareFinder}}} is a fake/mock thing. I think that's
pretty cool and it helped me learn the code better. I have to go to sleep
now and currently the test doesn't exercise the bug because it doesn't
arrange for the {{{ShareFinder}}} to execute its own {{{loop}}} in between
the final request being retired and the final share being added to the
node's {{{_share}}}. However, I'll attach the patch in case someone wants
to play with it.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1191#comment:13>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-dev
mailing list