Opened 12 days ago

Last modified 12 days ago

#31940 new enhancement

Fail unit tests that hang

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-unit-tests
Cc: 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.

Child Tickets

Change History (1)

comment:1 Changed 12 days ago by teor

Keywords: 043-should removed

Maybe we don't need to do this if our other fixes work.

Note: See TracTickets for help on using tickets.