未验证 提交 afed726e 编写于 作者: Y Yu Yihuang 提交者: GitHub

Merge pull request #2157 from ngu-niny/1815458

fio_linux: Add fio installation timeout value to make it work on s390x
......@@ -342,11 +342,12 @@ class FioLinuxCfg(object):
self.fio_path = '%s/bin/fio' % self.fio_inst
scp_benckmark = attrgetter('scp_benckmark')
unpack_file = attrgetter('unpack_file')
install_timeout = params.get_numeric('fio_install_timeout', 300)
install = attrgetter('install')
self.setups = {scp_benckmark: (params.get('username'), params.get('password'),
host_path, self.download_path),
unpack_file: (TAR_UNPACK, self.download_path, self.fio_inst),
install: (self.fio_inst, self.fio_inst)}
install: (self.fio_inst, self.fio_inst, install_timeout)}
self.setup_orders = (scp_benckmark, unpack_file, install)
......
......@@ -15,6 +15,8 @@
fio_options += '${fio_default_options} --rw=randread;'
fio_options += '${fio_default_options} --rw=randwrite;'
fio_options += '${fio_default_options} --rw=randrw'
s390x:
fio_install_timeout = 600
variants:
- aio_native:
image_aio_stg0 = native
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册