未验证 提交 a4fa7dd9 编写于 作者: Q Qianqian Zhu 提交者: GitHub

Merge pull request #2342 from XueqiangWei/cache_size_test

cache_sizes_test: set parameter cache-size for system image
......@@ -22,7 +22,7 @@ def run(test, params, env):
logging.info("Boot a guest up from initial image: %s, and create a"
" file %s on the disk.", initial_tag, file)
for cache_size in cache_sizes:
params["drv_extra_params"] = "cache-size=%s" % cache_size
params["drv_extra_params_image1"] = "cache-size=%s" % cache_size
vm = img_utils.boot_vm_with_images(test, params, env)
session = vm.wait_for_login()
guest_temp_file = params["guest_file_name"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册