[tor-bugs] #16299 [Stem]: Stem unit test failure for test_compare_flags
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jul 8 20:14:49 UTC 2015
#16299: Stem unit test failure for test_compare_flags
------------------------+--------------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: needs_review
Priority: minor | Milestone:
Component: Stem | Version:
Resolution: | Keywords: testing
Actual Points: | Parent ID:
Points: |
------------------------+--------------------------
Comment (by atagar):
Ahh, think this might be confusion because of the method name I chose.
Calling get_vote() kicks off a request and provides a
[https://stem.torproject.org/api/descriptor/remote.html#stem.descriptor.remote.Query
Query instance], and run() blocks until you get the result. Think of it
like a join() in terms of threads. So previously we had...
{{{
for each authority:
request the vote
for each request:
wait for the response
}}}
... and is now...
{{{
for each authority:
request the vote and await the reply
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16299#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list