]> git.proxmox.com Git - mirror_qemu.git/commit
acpi/tests/avocado/bits: wait for 200 seconds for SHUTDOWN event from bits VM
authorAni Sinha <anisinha@redhat.com>
Wed, 17 Jan 2024 04:25:56 +0000 (09:55 +0530)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Jan 2024 12:47:25 +0000 (12:47 +0000)
commit7ef4c41e91d59d72a3b8bc022a6cb3e81787a50a
tree9df3fa72839124b92673a698c6e54cae7d544241
parentd0f4aa7d50d485b1fb5ec8ab6f934e5df852ab07
acpi/tests/avocado/bits: wait for 200 seconds for SHUTDOWN event from bits VM

By default, the timeout to receive any specified event from the QEMU VM is 60
seconds set by the python avocado test framework. Please see event_wait() and
events_wait() in python/qemu/machine/machine.py. If the matching event is not
triggered within that interval, an asyncio.TimeoutError is generated. Since the
timeout for the bits avocado test is 200 secs, we need to make event_wait()
timeout of the same value as well so that an early timeout is not triggered by
the avocado framework.

CC: peter.maydell@linaro.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2077
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240117042556.3360190-1-anisinha@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/avocado/acpi-bits.py