[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 09/18] tests: introduce ability to provide hooks for migra
From: |
Peter Xu |
Subject: |
Re: [PATCH v2 09/18] tests: introduce ability to provide hooks for migration precopy test |
Date: |
Fri, 11 Mar 2022 09:49:23 +0800 |
On Thu, Mar 10, 2022 at 05:18:12PM +0000, Daniel P. Berrangé wrote:
> There are alot of different scenarios to test with migration due to the
> wide number of parameters and capabilities available. To enable sharing
> of the basic precopy test scenario, we need to be able to set arbitrary
> parameters and capabilities before the migration is initiated, but don't
> want to have all this logic in the common helper function. Solve this
> by defining two hooks that can be provided by the test case, one before
> migration starts and one after migration finishes.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
- [PATCH v2 00/18] tests: introduce testing coverage for TLS with migration, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 02/18] tests: improve error message when saving TLS PSK file fails, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 01/18] tests: fix encoding of IP addresses in x509 certs, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 03/18] tests: support QTEST_TRACE env variable, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 05/18] tests: add more helper macros for creating TLS x509 certs, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 09/18] tests: introduce ability to provide hooks for migration precopy test, Daniel P . Berrangé, 2022/03/10
- Re: [PATCH v2 09/18] tests: introduce ability to provide hooks for migration precopy test,
Peter Xu <=
- [PATCH v2 10/18] tests: switch migration FD passing test to use common precopy helper, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 11/18] tests: expand the migration precopy helper to support failures, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 08/18] tests: merge code for UNIX and TCP migration pre-copy tests, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 07/18] tests: switch MigrateStart struct to be stack allocated, Daniel P . Berrangé, 2022/03/10
- [PATCH v2 14/18] tests: convert XBZRLE migration test to use common helper, Daniel P . Berrangé, 2022/03/10