冒烟超时时间修改

Signed-off-by: liyanlin02 <liyanlin15@huawei.com>
This commit is contained in:
liyanlin02
2023-11-25 13:11:40 +08:00
parent c55dd793d7
commit 58c335fa5b
@@ -437,7 +437,7 @@ def start_cmd(sn):
return False
@timeout(3600)
@timeout(900)
def cmd_test(screenshot_path, py_path, new_report_path, resource_path, sn, test_num, pr_url):
save_screenshot_path = os.path.join(new_report_path, "screenshot_result")
logger.info(save_screenshot_path)
@@ -468,7 +468,7 @@ def cmd_test(screenshot_path, py_path, new_report_path, resource_path, sn, test_
return False
@timeout(3600)
@timeout(900)
def outCmd(cmd, save_screenshot_path, base_screenshot_path, resource_path):
logger.info("cmd is: %s" % cmd)
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding="gbk")