Bug 7835

Summary: Error handling during testing -- set timeout for test case
Product: [QA/Testing] Runtime Testing Reporter: Cathy Shen <cathy.shen>
Component: generalAssignee: Lucian Musat <georgex.l.musat>
Status: VERIFIED FIXED QA Contact: Cathy Shen <cathy.shen>
Severity: enhancement    
Priority: Medium CC: alexandru.c.georgescu, junhuix.zhang
Version: 1.8.1   
Target Milestone: 1.9 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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!