[tor-bugs] #8865 [Stem]: test_event_handling is unreliable
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun May 12 00:25:05 UTC 2013
#8865: test_event_handling is unreliable
---------------------+------------------------------------------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: new
Priority: minor | Milestone:
Component: Stem | Version:
Keywords: testing | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
The test_event_handling test in 'test/integ/control/controller.py' relies
on the timing of BW events to work. In theory tor should provide one of
these events each second, but on our jenkins host this isn't always the
case. In fact, sometimes tor goes over five seconds without emitting a BW
event.
We need to fix the test to be more reliable. To do this we need to do an
action with the controller guaranteed to generate an event then listen for
that (instead of BW). CONF_CHANGED might be a good candidate.
I'm disabling the test until we can sort this out.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8865>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list