qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 18/18] tests: ensure migration status isn't reported as faile


From: Peter Xu
Subject: Re: [PATCH 18/18] tests: ensure migration status isn't reported as failed
Date: Mon, 7 Mar 2022 16:09:52 +0800

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é <berrange@redhat.com>

Reviewed-by: Peter Xu <peterx@redhat.com>

-- 
Peter Xu




reply via email to

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