[tor-bugs] #19333 [Core Tor/Tor]: Make node-selection functions testable and tested

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 7 18:27:57 UTC 2016


#19333: Make node-selection functions testable and tested
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.2.9.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-route-testing
Actual Points:                |  Parent ID:
       Points:  4             |   Reviewer:
      Sponsor:  SponsorU-can  |
------------------------------+--------------------------------
 This won't be that hard.

 (Famous last words.)

 We "just" need to make the part of the code that constructs the
 probability distribution for the known nodes separable from the part that
 chooses a node based on that probability distribution. Then, we need to
 write unit tests with an example nodelist to make sure that the correct
 properties are obeyed. As a part of that, we might want to make sure that
 every rule in the code is tested, and every rule in the code is in path-
 spec.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19333>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list