tests: expand the migration precopy helper to support failures
commit00fbe7f6add0ac58556e9fe3354d300294e6c3ef
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Mar 2022 17:18:14 +0000 (10 17:18 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 21 Apr 2022 18:36:46 +0000 (21 19:36 +0100)
tree8807943285a91e1a811b41a3c1a0fb9fc6d9df7c
parent243e006686f51f076536b5e61efbefa8f2e92ab6
tests: expand the migration precopy helper to support failures

The migration precopy testing helper function always expects the
migration to run to a completion state. There will be test scenarios
for TLS where expect either the client or server to fail the migration.
This expands the helper to cope with these scenarios.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220310171821.3724080-12-berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tests/qtest/migration-test.c