BIND 10 #2846: UniformRandomIntegerGeneratorTest.IntegerRange failure on Debian

BIND 10 Development do-not-reply at isc.org
Tue Mar 12 02:08:00 UTC 2013


#2846: UniformRandomIntegerGeneratorTest.IntegerRange failure on Debian
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  Unclassified  |  Tasks
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 It seems that there is a very small probability (due it it being a
 randomly picked number) that you can have less than 10 unique values. We
 have to work around this in tests, or simply ignore the issue (if it's too
 difficult to fix) as the probability of the test failing is very low.

 9 out of 10 values would occur once in 1/(0.9^100) times. Similarly, for 8
 out of 10, 7 out of 10, etc.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2846#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list