提交 e43c4edc 编写于 作者: X Xu Tian

generic.tests: fix iometer command timeout issue

Param 'run_timeout' define in test configuration but not used
it cause iometer commands run timeout in lower performance
machines.
Signed-off-by: NXu Tian <xutian@redhat.com>
上级 2e7bb976
......@@ -70,7 +70,7 @@ def run(test, params, env):
logging.info("Set Timeout: %ss" % run_timeout)
run_cmd = run_cmd % (icf_name, res_file)
logging.info("Execute Command: %s" % run_cmd)
s, o = session.cmd_status_output(cmd=run_cmd, timeout=100)
s, o = session.cmd_status_output(cmd=run_cmd, timeout=run_timeout)
error_context.context("Copy result '%s' to host" % res_file, logging.info)
vm.copy_files_from(res_file, test.resultsdir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册