summary refs log tree commit diff stats
path: root/scripts/qapi/schema.py
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2022-03-29 14:42:59 +0200
committerPeter Maydell <peter.maydell@linaro.org>2022-03-29 16:40:05 +0100
commit6ae6a30ca579be81d5a4a0e2cbfe714d375e0560 (patch)
tree03c72cfe81a997415c3505f8ce9451d9161dbfdd /scripts/qapi/schema.py
parent44064550d98a680e2ff55fdd783ac19d850ac8ca (diff)
downloadfocaccia-qemu-6ae6a30ca579be81d5a4a0e2cbfe714d375e0560.tar.gz
focaccia-qemu-6ae6a30ca579be81d5a4a0e2cbfe714d375e0560.zip
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>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions