Skip to content

Commit ba273ae

Browse files
authored
migration: Update loop time (autotest#6394)
Update loop time to ensure the VM is in running state when executing the command. Signed-off-by: lcheng <lcheng@redhat.com>
1 parent 437606c commit ba273ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libvirt/tests/cfg/migration/async_ops/query_info_during_migration.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
loop_disk_type = "block"
3232
block_device = "${nfs_mount_dir}/query_info_test.img"
3333
migrate_speed = "15"
34-
loop_time = "20"
34+
loop_time = "10"
3535
variants:
3636
- p2p:
3737
virsh_migrate_options = '--live --p2p --verbose'

provider/migration/migration_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def execute_statistics_command(params):
293293
"""
294294
vm_name = params.get("migrate_main_vm")
295295
disk_type = params.get("loop_disk_type")
296-
loop_time = params.get("loop_time", "20")
296+
loop_time = params.get("loop_time", "1")
297297

298298
vmxml = vm_xml.VMXML.new_from_dumpxml(vm_name)
299299
if disk_type:

0 commit comments

Comments
 (0)