[tor-bugs] #26210 [Core Tor/Stem]: Stem test for GETINFO md/all

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 31 20:21:11 UTC 2018


#26210: Stem test for GETINFO md/all
-------------------------------------------------+-------------------------
 Reporter:  rl1987                               |          Owner:  atagar
     Type:  enhancement                          |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Stem                        |        Version:
 Severity:  Normal                               |     Resolution:  fixed
 Keywords:  tor-client, tor-control, microdesc,  |  Actual Points:
  035-removed-20180711                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by atagar):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Thanks rl1987! Stem now uses 'GETINFO md/all' when it's available rather
 than reading descriptors from disk...

 https://gitweb.torproject.org/stem.git/commit/?id=ac2b277

 We already had a simple integ test for this...

 https://gitweb.torproject.org/stem.git/tree/test/integ/control/controller.py#n1149

 This only is invoked when running tests that require network connectivity
 (via 'run_tests.py --integ --target ONLINE'). Note that this will *not* be
 exercised with the present tor git codebase because it reports its version
 as '0.3.5.0-alpha-dev' rather than 0.3.5.1-alpha or above (as documented
 in the spec).

 Made a little hack to exercise this new code with the integ test.

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


More information about the tor-bugs mailing list