On Wed, Mar 02, 2022 at 05:49:32PM +0000, Daniel P. Berrangé wrote: > Various methods in the migration test call 'query_migrate' to fetch the > current status and then access a particular field. Almost all of these > cases expect the migration to be in a non-failed state. In the case of > 'wait_for_migration_pass' in particular, if the status is 'failed' then > it will get into an infinite loop. By validating that the status is > not 'failed' the test suite will assert rather than hang when getting > into an unexpected state. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu