[tor-bugs] #14356 [Stem]: Pre-test activities to speed integ tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 26 03:39:18 UTC 2015


#14356: Pre-test activities to speed integ tests
---------------------------+------------------------
 Reporter:  atagar         |          Owner:  atagar
     Type:  enhancement    |         Status:  new
 Priority:  normal         |      Milestone:
Component:  Stem           |        Version:
 Keywords:  testing, easy  |  Actual Points:
Parent ID:                 |         Points:
---------------------------+------------------------
 Random idea I just had - for integ tests that take a long time due to
 long-running external activities (like the process tests which spawn and
 stop tor processes) we can kick off an asynchronous tasks that preps those
 tests as we run others.

 That is to say, these modules could have a pretest() function with spawns
 a thread that does the long-running operations. Then when the test
 executes it joins on the thread and makes its assertions. This would hide
 the long-running parts, greatly speeding up some of our tests.

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


More information about the tor-bugs mailing list