OSDN Git Service

tests/acceptance/migration.py: Wait for both sides
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 28 May 2020 11:24:04 +0000 (12:24 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 31 May 2020 16:25:31 +0000 (18:25 +0200)
commit2c9120a223e666d7171e965b8f8bbcd72620f566
tree2fbb960f03ef3ef6e50ecba1568222f79e55b9ff
parent83389e22c5aa48877b9e4f903ae4ec49a442df2b
tests/acceptance/migration.py: Wait for both sides

When the source finishes migration the destination will still be
receiving the data sent by the source, so it might not have quite
finished yet, so won't quite have reached 'completed'.
This lead to occasional asserts in the next few checks.

After the source has finished, check the destination as well.
(We can't just switch to checking the destination, because it doesn't
give a status until it has started receiving the migration).

Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200528112404.121972-1-dgilbert@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/acceptance/migration.py