Open Bug 974111 Opened 10 years ago Updated 2 years ago

xpcshell doesn't continue with other tests after one test times out

Categories

(Testing :: XPCShell Harness, defect)

defect

Tracking

(Not tracked)

People

(Reporter: keeler, Unassigned)

Details

Looks like bug 597064 added the ability for the xpcshell test harness to detect and fail tests when they time out. However, as far as I can tell, the harness doesn't do anything useful (like print the output from that test and then continue with the others) when this happens.

STR:
1. Modify a test so it won't finish (e.g. take out one of it's run_next_test calls)
2. Run ./mach xpcshell-test directory/containing/test/

Expected results: that test hangs, the test harness discovers this, dumps the output from that test, kills the test, and continues with other tests

Actual results: the test hangs, the test harness discovers this, and then just sits there.

This seems similar to bug 870781. Maybe they have the same root cause. See also bug 804648.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.