From 0cff65c5e7d69bfbfc152718e7c194b807250343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Thu, 9 Nov 2017 09:57:59 +0100 Subject: [PATCH] pci_devices: Decrease the wait timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The timeout 10s was chosed to not slow-down the test execution much, but usually less than 1s is enough. These days the boot takes < 20s, sometimes even 5s so let's decrease the timeout to suitable but still safe 5s. Signed-off-by: Lukáš Doktor --- qemu/tests/pci_devices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/tests/pci_devices.py b/qemu/tests/pci_devices.py index e6221546..73ab3bce 100755 --- a/qemu/tests/pci_devices.py +++ b/qemu/tests/pci_devices.py @@ -356,8 +356,8 @@ def run(test, params, env): vm = env.get_vm(params["main_vm"]) # PCI devices are initialized by firmware, which might require some time - # to setup. Wait 10s before getting the qtree. - time.sleep(10) + # to setup. Wait 5s before getting the qtree. + time.sleep(5) qtree = qemu_qtree.QtreeContainer() error.context("Verify qtree vs. qemu devices", logging.info) -- GitLab