[tor-bugs] #33812 [Core Tor/Tor]: Add unit tests for bandwidth statistics functions

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Apr 4 08:27:09 UTC 2020


#33812: Add unit tests for bandwidth statistics functions
------------------------------+------------------------------
 Reporter:  MrSquanchee       |          Owner:  MrSquanchee
     Type:  task              |         Status:  assigned
 Priority:  Medium            |      Component:  Core Tor/Tor
  Version:  Tor: unspecified  |       Severity:  Minor
 Keywords:                    |  Actual Points:
Parent ID:  #33617            |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------
 We currently don't have tests for bandwidth statistics
 reporting code.
 We need to write tests for the following functions.
 1. commit_max()
 2. advance_obs()
 3. add_obs()
 4. rep_hist_bandwidth_assess()
 5. rep_hist_fill_bandwidth_history()
 6. rep_hist_get_bandwidth_lines()

 This will be useful for #33617

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


More information about the tor-bugs mailing list