[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 5e4e43: acpi/tests/avocado/bits: wait for 200

From: Ani Sinha
Subject: [Qemu-commits] [qemu/qemu] 5e4e43: acpi/tests/avocado/bits: wait for 200 seconds for ...
Date: Wed, 24 Jan 2024 00:44:15 -0800

  Branch: refs/heads/staging-8.2
  Home:   https://github.com/qemu/qemu
  Commit: 5e4e438f9d602f8089e88252e58c523d77947ee1
  Author: Ani Sinha <anisinha@redhat.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M tests/avocado/acpi-bits.py

  Log Message:
  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>
(cherry picked from commit 7ef4c41e91d59d72a3b8bc022a6cb3e81787a50a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]