qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3b38f6: tests/qtest: failover: fix infinite l


From: Laurent Vivier
Subject: [Qemu-commits] [qemu/qemu] 3b38f6: tests/qtest: failover: fix infinite loop
Date: Tue, 29 Mar 2022 12:50:04 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 3b38f6d5064e6982e66a90e080aa6307469667de
      
https://github.com/qemu/qemu/commit/3b38f6d5064e6982e66a90e080aa6307469667de
  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>





reply via email to

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