iotests.py: Let wait_migration() return on failure
commit4bf63c80357031be4eb8fff8a751f40e73ef1c10
authorMax Reitz <mreitz@redhat.com>
Thu, 20 Aug 2020 15:07:24 +0000 (20 17:07 +0200)
committerEric Blake <eblake@redhat.com>
Fri, 21 Aug 2020 13:56:09 +0000 (21 08:56 -0500)
treefde634920db8be484b295c2df51b0f03943ca8b4
parent31e4c354b38cd42a051ad030eb7779d5e7ee32fe
iotests.py: Let wait_migration() return on failure

Let wait_migration() return on failure (with the return value indicating
whether the migration was completed or has failed), so we can use it for
migrations that are expected to fail, too.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200820150725.68687-3-mreitz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/iotests.py