[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 6ae6a3: tests/qtest: failover: fix infinite l
From: |
Laurent Vivier |
Subject: |
[Qemu-commits] [qemu/qemu] 6ae6a3: tests/qtest: failover: fix infinite loop |
Date: |
Tue, 29 Mar 2022 08:46:03 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 6ae6a30ca579be81d5a4a0e2cbfe714d375e0560
https://github.com/qemu/qemu/commit/6ae6a30ca579be81d5a4a0e2cbfe714d375e0560
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>
- [Qemu-commits] [qemu/qemu] 6ae6a3: tests/qtest: failover: fix infinite loop,
Laurent Vivier <=