Ungraceful test timeout of check framework on scratchbox / N900
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HIPL |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Our unit test framework check has a default timeout of 4 seconds for unit tests.
When you run the tests on passion (make check) and a timeout occurs, it fails the respective test and exits gracefully with a notice like this:
> test/lib/
When a timeout occurs in the scratchbox environment or on the N900 the running test simply gets killed, i.e. it is exited ungracefully and there is no notice whatsoever (except for a printed "killed."). This should not be the case.
How to reproduce this issue:
- generate a timeout in one of the unit tests and let it run on the scratchbox environment or on the N900, a patch to achieve this is attached (to get a timeout with unit tests on passion or locally insert a sleep(5) somewhere in the unit test)
- see the following merge for some discussion on the issue:
https:/
Attached are the strace logs of the test/lib/
summary: |
- Ungraceful test timeout exit of check framework on scratchbox / N900 + Ungraceful test timeout of check framework on scratchbox / N900 |
Changed in hipl: | |
status: | New → Fix Committed |
Hi,
there's no fix committed for this bug yet. :) The issue just doesn't appear anymore
because the timeout in the unit tests has been fixed. The bug is still open as
any test timeout that may occur would still ungracefully break the test run on
scratchbox or on the N900.