提交 023305da 编写于 作者: Q Qingtang Zhou 提交者: Lucas Meneghel Rodrigues

qemu.tests.cdrom: Rename max_times to cdrom_max_test_times

To avoid possible conflict with other tests.
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
Acked-by: NXu Tian <xutian@redhat.com>
上级 f452bf61
......@@ -494,11 +494,11 @@ def run_cdrom(test, params, env):
" unlocked" % (qemu_cdrom_device))
del _f
max_times = int(params.get("max_times", 100))
max_test_times = int(params.get("cdrom_max_test_times", 100))
if params.get("cdrom_test_eject") == "yes":
eject_test_via_monitor(vm, qemu_cdrom_device,
guest_cdrom_device, self.iso_image_orig,
self.iso_image_new, max_times)
self.iso_image_new, max_test_times)
if params.get('cdrom_test_tray_status') == 'yes':
check_tray_status_test(vm, qemu_cdrom_device,
......
......@@ -4,7 +4,7 @@
cdrom_cd1 = orig.iso
start_vm = no
kill_vm_on_error = yes
max_times = 20
cdrom_max_test_times = 20
# test whether cdrom is unlocked <300s after boot
cdrom_test_autounlock = no
# test the tray status
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册