From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <t.lamprecht@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id D32F1620E3
 for <pve-devel@lists.proxmox.com>; Fri, 18 Dec 2020 17:51:05 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id C12BFBB75
 for <pve-devel@lists.proxmox.com>; Fri, 18 Dec 2020 17:50:35 +0100 (CET)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [212.186.127.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 7F422BB66
 for <pve-devel@lists.proxmox.com>; Fri, 18 Dec 2020 17:50:34 +0100 (CET)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 489D245386
 for <pve-devel@lists.proxmox.com>; Fri, 18 Dec 2020 17:50:34 +0100 (CET)
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
 Fabian Ebner <f.ebner@proxmox.com>
References: <20201217093702.15182-1-f.ebner@proxmox.com>
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
Message-ID: <f3e72927-5115-796e-25db-fd74ad6e63c5@proxmox.com>
Date: Fri, 18 Dec 2020 17:50:32 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101
 Thunderbird/84.0
MIME-Version: 1.0
In-Reply-To: <20201217093702.15182-1-f.ebner@proxmox.com>
Content-Type: text/plain; charset=UTF-8
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.065 Adjusted score from AWL reputation of From: address
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 RCVD_IN_DNSWL_MED        -2.3 Sender listed at https://www.dnswl.org/,
 medium trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: [pve-devel] applied: Re: [PATCH v2 qemu-server] tests: allow
 running migration tests in parallel
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Fri, 18 Dec 2020 16:51:05 -0000

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@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!