提交 4797952b 编写于 作者: Y Yiqiao Pu 提交者: Lucas Meneghel Rodrigues

qemu.tests.balloon_check: Separate enlarge and evict cases

Update the related new parameters and separated the enlarge and evict
cases
Signed-off-by: NYiqiao Pu <ypu@redhat.com>
上级 f1bac25a
- balloon_check: install setup image_copy unattended_install.cdrom
virt_test_type = qemu
no Win2000, Fedora.8, Fedora.9, Fedora.10, RHEL.3, RHEL.4, Unix, livecd
type = balloon_check
extra_params += " -balloon virtio"
......@@ -9,20 +10,11 @@
Windows:
ratio = 0.5
variants:
- @base:
- balloon_base:
- balloon-migrate:
sub_balloon_test_enlarge = "migration"
sub_balloon_test_evict = "migration"
migration_test_command = help
migration_bg_command = "cd /tmp; nohup tcpdump -q -i any -t ip host localhost"
migration_bg_check_command = pgrep tcpdump
migration_bg_kill_command = pkill tcpdump
kill_vm_on_error = yes
iterations = 2
used_mem = 1024
mig_timeout = 3600
migration_protocol = "tcp"
- guest_s3:
extra_params += " -global PIIX4_PM.disable_s3=0"
sub_balloon_test_enlarge = "guest_suspend"
......@@ -39,17 +31,32 @@
guest_suspend_type = "disk"
services_up_timeout = 30
qemu_quit_after_sub_case = yes
session_need_update = yes
# params: s3_support_chk_cmd, s3_bg_program_setup_cmd,
# s3_bg_program_chk_cmd, s3_bg_program_kill_cmd, s3_log_chk_cmd,
# s3_start_cmd and services_up_timeout are set in guest-os.cfg
- balloon-shutdown_enlarge:
sub_balloon_test_enlarge = "shutdown"
shutdown_method = shell
kill_vm = yes
kill_vm_gracefully = no
check_img = yes
- balloon-shutdown_evict:
shutdown_method = shell
kill_vm = yes
kill_vm_gracefully = no
sub_balloon_test_evict = "shutdown"
- balloon-reboot:
sub_balloon_test_enlarge = "boot"
sub_balloon_test_evict = "boot"
reboot_method = shell
kill_vm_on_error = yes
reboot = yes
session_need_update = yes
- balloon-shutdown:
sub_balloon_test_enlarge = "shutdown"
sub_balloon_test_evict = "shutdown"
shutdown_method = shell
kill_vm = yes
kill_vm_gracefully = no
check_img = yes
variants:
- balloon_evict:
# Disable balloon_base case as it not run any sub test
no balloon_base
run_evict_sub_test = yes
- balloon_enlarge:
# Disable balloon_base case as it not run any sub test
no balloon_base
run_enlarge_sub_test = yes
- balloon_evict_and_enlarge:
only balloon_base
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册