[tor-bugs] #31940 [Core Tor/Tor]: Fail unit tests that hang

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 3 01:15:42 UTC 2019


#31940: Fail unit tests that hang
------------------------------+---------------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-unit-tests 043-should
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+---------------------------------------
 Follow up to #31841.

 We should set a time limit for each individual unit test, and fail it if
 it takes too long.

 We might also want to timelimit checks as well.

 We can set a time limit on entire shell commands using the "timelimit"
 command. But we will need to write test code to do it per-unit test.

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


More information about the tor-bugs mailing list