[tor-bugs] #25947 [Core Tor/Tor]: Create unit test for dirserv_read_measured_bandwidths

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 3 07:49:17 UTC 2018


#25947: Create unit test for dirserv_read_measured_bandwidths
--------------------------+------------------------------------
 Reporter:  juga          |          Owner:  juga
     Type:  enhancement   |         Status:  assigned
 Priority:  Medium        |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  bwauth, test  |  Actual Points:
Parent ID:  #25925        |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 You can read my response your question at:
 https://github.com/torproject/tor/pull/78#issuecomment-386196368

 Here's how we can change the code safely:
 * make a commit with unit tests for the relay lines
 * make a commit that refactors the code so you can test a whole file
 * make a commit that unit tests a whole torflow file
 * make changes to accept the new headers
 * make a commit that unit tests a whole sbws file

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


More information about the tor-bugs mailing list