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

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



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