mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 10:09:54 +00:00
Fix timeout limit
timeout_limit add Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAATHK?from=project-issue Signed-off-by: fangting <fangting12@huawei.com>
This commit is contained in:
parent
4343720042
commit
3f9522cee7
@ -122,7 +122,7 @@ def judge_output(args: object):
|
||||
"""run executable and judge is success or not."""
|
||||
start_time = time.time()
|
||||
[cmd, subp] = process_open(args)
|
||||
timeout_limit = int(args.timeout_limit) if args.timeout_limit else 150 # units: s
|
||||
timeout_limit = int(args.timeout_limit) if args.timeout_limit else 1200 # units: s
|
||||
|
||||
try:
|
||||
out, err = subp.communicate(timeout=timeout_limit)
|
||||
|
Loading…
Reference in New Issue
Block a user