[tahoe-lafs-trac-stream] [tahoe-lafs] #1392: if you have fewer than 1000 measurements, return None (meaning "I don't know") when asked for the 99.9% percentile.
tahoe-lafs
trac at tahoe-lafs.org
Mon May 23 17:03:15 PDT 2011
#1392: if you have fewer than 1000 measurements, return None (meaning "I don't
know") when asked for the 99.9% percentile.
-------------------------------+----------------------------------
Reporter: arch_o_median | Owner: arch_o_median
Type: defect | Status: new
Priority: minor | Milestone: undecided
Component: code-storage | Version: 1.8.2
Resolution: | Keywords: reviewed news-needed
Launchpad Bug: |
-------------------------------+----------------------------------
Comment (by arch_o_median):
When I ran the whole test suite "python ./setup.py test" two tests failed.
The dictionary returned by get_stats no longer conformed to the
constraints expected in interfaces.py as it contained "None" values. I
modified the ChoiceOf call in the relevant interface to include a "None",
element as an argument. This allows the test suite to pass. Beyond the
fact that the tests now pass I do not know what effects such a change
might have, i.e. I've not examined the definition of ChoiceOf, so review
is certainly called for.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1392#comment:21>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list