diff --git a/qemu/tests/cfg/netkvm_in_use.cfg b/qemu/tests/cfg/netkvm_in_use.cfg index 4206705068a892beeff7d0255784663ab3715ce6..cd48c8094179daea0f75e48b5b8cc7484470872d 100644 --- a/qemu/tests/cfg/netkvm_in_use.cfg +++ b/qemu/tests/cfg/netkvm_in_use.cfg @@ -64,3 +64,4 @@ run_dhclient = no pci_num = 1 repeat_times = 100 + wait_secs_for_hook_up = 3 diff --git a/qemu/tests/pci_hotplug.py b/qemu/tests/pci_hotplug.py index 945d6e5dcb1f8cdd3c49a9ae8a07e1c202c4a3ca..4d1c6c171f37e0a9209b01b6c4edf26b46f4ddfa 100644 --- a/qemu/tests/pci_hotplug.py +++ b/qemu/tests/pci_hotplug.py @@ -225,7 +225,7 @@ def run(test, params, env): raise error.TestFail("No new PCI device shown after executing " "monitor command: 'info pci'") - secs = int(params.get("wait_secs_for_hook_up")) + secs = int(params.get("wait_secs_for_hook_up", 3)) if not utils_misc.wait_for(_new_shown, test_timeout, secs, 3): raise error.TestFail("No new device shown in output of command " "executed inside the guest: %s" % diff --git a/qemu/tests/pci_hotplug_check.py b/qemu/tests/pci_hotplug_check.py index b438b6ac6dc9ffd0a96523dc58e38e74e1b6b6f1..557068ef55767f554d070ff8605318aa636acfc2 100644 --- a/qemu/tests/pci_hotplug_check.py +++ b/qemu/tests/pci_hotplug_check.py @@ -230,7 +230,7 @@ def run(test, params, env): raise error.TestFail("No new PCI device shown after " "executing monitor command: 'info pci'") - secs = int(params.get("wait_secs_for_hook_up")) + secs = int(params.get("wait_secs_for_hook_up", 3)) if not utils_misc.wait_for(_new_shown, test_timeout, secs, 3): raise error.TestFail("No new device shown in output of" + "command executed inside the " +