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

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



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