Merge lp://staging/~liuyq0307/linaro-android-build-tools/support-timeout into lp://staging/linaro-android-build-tools
Proposed by
Yongqin Liu
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~liuyq0307/linaro-android-build-tools/support-timeout |
Merge into: | lp://staging/linaro-android-build-tools |
Diff against target: |
105 lines (+26/-9) 1 file modified
build-scripts/post-build-lava.py (+26/-9) |
To merge this branch: | bzr merge lp://staging/~liuyq0307/linaro-android-build-tools/support-timeout |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Milo Casagrande (community) | Approve | ||
Paul Sokolovsky | Pending | ||
Review via email: mp+109985@code.staging.launchpad.net |
This proposal has been superseded by a proposal from 2012-06-18.
Description of the change
Add support for timeout option for each test actions.
And the wiki following has been updated about how to use the timeout support:
https:/
To post a comment you must log in.
Hi Yongqin,
thanks for working on this. Overall the merge proposal looks good to me, just a couple of really small comments.
On Fri, Jun 15, 2012 at 10:44 AM, Paul Sokolovsky <email address hidden> wrote: get("DEFAULT_ TIMEOUT" , 3600)
>
> + # Set the default timeout for all test,
> + # if this value it not set, then use the 3600 seconds as the default value
> + default_timeout = os.environ.
Just a small typo here: s/it not/is not
> config_json = {"job_name": build_url, timeout) ,
> "image_type": 'android',
> - "timeout": 18000,
> + "timeout": int(default_
> "actions": actions
> }
The old timeout here was set to 18000 seconds, now you set a default value of 3600: has it been discussed somewhere to lower the timeout?
Also, even if not introduced by you, can you please fix these two errors from pep8:
post-build- lava.py: 44:15: E203 whitespace before ':' lava.py: 185:80: E501 line too long (100 characters)
post-build-
Thanks.