[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #33812 [Core Tor/Tor]: Add unit tests for bandwidth statistics functions
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs