[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 72f544: tests/qtest: failover: fix infinite l
From: |
Laurent Vivier |
Subject: |
[Qemu-commits] [qemu/qemu] 72f544: tests/qtest: failover: fix infinite loop |
Date: |
Tue, 29 Mar 2022 11:18:54 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 72f54411356cf4d2abcc88dedb15394e8250ba0e
https://github.com/qemu/qemu/commit/72f54411356cf4d2abcc88dedb15394e8250ba0e
Author: Laurent Vivier <lvivier@redhat.com>
Date: 2022-03-29 (Tue, 29 Mar 2022)
Changed paths:
M tests/qtest/virtio-net-failover.c
Log Message:
-----------
tests/qtest: failover: fix infinite loop
If the migration is over before we cancel it, we are
waiting in a loop a state that never comes because the state
is already "completed".
To avoid an infinite loop, skip the test if the migration
is "completed" before we were able to cancel it.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20220329124259.355995-1-lvivier@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 72f544: tests/qtest: failover: fix infinite loop,
Laurent Vivier <=