Bug 7835 - Error handling during testing -- set timeout for test case
Summary: Error handling during testing -- set timeout for test case
Status: VERIFIED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.8.1
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.9 M1
Assignee: Lucian Musat
QA Contact: Cathy Shen
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-01 13:50 UTC by Cathy Shen
Modified: 2015-09-24 08:59 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cathy Shen 2015-06-01 13:50:20 UTC
imagetest might need enhanced to do error handling, like:

i.fail-safe to handle exception of DUT hang.
ii.Case level time out mechanism.
Comment 1 Cathy Shen 2015-06-08 06:54:13 UTC
To make this requirement more clear, split it into 2. This one is used to track the timeout requirements.
Comment 2 Lucian Musat 2015-06-15 08:41:00 UTC
Timeout decorator merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ad0aa8d548e21e6e262c4b0d9fe7eb72b1b2c24f
Comment 3 zjh 2015-09-24 08:51:03 UTC
I had tested this decorator, it can raise a TimeOut Exception when my test case's exec time is great than timeout seconds.
Comment 4 Alexandru Georgescu 2015-09-24 08:59:14 UTC
(In reply to comment #3)
> I had tested this decorator, it can raise a TimeOut Exception when my test
> case's exec time is great than timeout seconds.

Thank you Junhui!