[pve-devel] applied: Re: [PATCH v2 qemu-server] tests: allow running migration tests in parallel

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Dec 18 17:50:32 CET 2020


On 17/12/2020 10:37, Fabian Ebner wrote:
> It's not easily possible to use separate JSON files for the test configuration,
> because part of it is generated with perl code. While this could be encoded too,
> it seems cleaner to use the "run a single test by specifing the name"
> functionality while adding a way for make to obtain a list of the test names.
> 
> Each test has (and needs) its own directory now, meaning the log files do not
> need to be renamed anymore.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Changes from v1:
>     * add definedness check before comparing $single_test_name
> 
>  test/Makefile                  |  9 +++--
>  test/run_qemu_migrate_tests.pl | 62 ++++++++++++++++++++--------------
>  2 files changed, 44 insertions(+), 27 deletions(-)
> 
>

On my dev VM with 16 cores I now need 4.6s instead of 36s thanks to this, that's
acceptable again.

applied, thanks!





More information about the pve-devel mailing list