[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
- Re: [PATCH 04/18] tests: print newline after QMP response in qtest logs, (continued)
[PATCH 14/18] tests: convert XBZRLE migration test to use common helper, Daniel P . Berrangé, 2022/03/02
[PATCH 15/18] tests: convert multifd migration tests to use common helper, Daniel P . Berrangé, 2022/03/02
[PATCH 16/18] tests: add multifd migration tests of TLS with PSK credentials, Daniel P . Berrangé, 2022/03/02
[PATCH 17/18] tests: add multifd migration tests of TLS with x509 credentials, Daniel P . Berrangé, 2022/03/02
[PATCH 18/18] tests: ensure migration status isn't reported as failed, Daniel P . Berrangé, 2022/03/02
- Re: [PATCH 18/18] tests: ensure migration status isn't reported as failed,
Peter Xu <=