[tahoe-lafs-trac-stream] [tahoe-lafs] #666: Accounting: limit storage space used by different parties
tahoe-lafs
trac at tahoe-lafs.org
Sat Sep 29 12:44:05 UTC 2012
#666: Accounting: limit storage space used by different parties
------------------------------+------------------------
Reporter: warner | Owner:
Type: task | Status: new
Priority: major | Milestone: 2.0.0
Component: code-storage | Version: 1.3.0
Resolution: | Keywords: accounting
Launchpad Bug: |
------------------------------+------------------------
Comment (by zooko):
Following-up to my comment:6, I guess a good unit test is to put in a fake
for {{{self._cursor}}} which raises a different {{{IntegrityError}}}
(i.e., signalling some sort of corruption or bug), and then have a test
which calls {{{add_new_share}}} and the code under test fails unless it
propagates that {{{IntegrityError}}} to its caller.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/666#comment:7>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list