[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #16299 [Stem]: Stem unit test failure for test_compare_flags



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs