From patchwork Tue Jul 28 03:41:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Phil Yang X-Patchwork-Id: 74892 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2F95A0521; Tue, 28 Jul 2020 05:42:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8EECD1BFF3; Tue, 28 Jul 2020 05:42:01 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 098BE1BFF2 for ; Tue, 28 Jul 2020 05:41:59 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6BAE230E; Mon, 27 Jul 2020 20:41:59 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (phil-VirtualBox.shanghai.arm.com [10.169.107.159]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 422D23F71F; Mon, 27 Jul 2020 20:41:57 -0700 (PDT) From: Phil Yang To: david.marchand@redhat.com, dev@dpdk.org Cc: aconole@redhat.com, Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, nd@arm.com Date: Tue, 28 Jul 2020 11:41:37 +0800 Message-Id: <1595907697-20260-1-git-send-email-phil.yang@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1584936978-11899-2-git-send-email-phil.yang@arm.com> References: <1584936978-11899-2-git-send-email-phil.yang@arm.com> Subject: [dpdk-dev] [PATCH v2] test/atomic: reduce the number of loops to avoid timeouts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Reduce the number of loops to 10K to avoid the meson test timeout warning. For example: $ sudo meson test -C build --suite DPDK:fast-tests / atomic_autotest -t 50 [...] 1/1 DPDK:fast-tests / atomic_autotest OK 187.35s Signed-off-by: Phil Yang Reviewed-by: Juraj Linkeš --- v2: Split from the original patchset. app/test/test_atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index 214452e..9b70f44 100644 --- a/app/test/test_atomic.c +++ b/app/test/test_atomic.c @@ -99,7 +99,7 @@ #define NUM_ATOMIC_TYPES 3 -#define N 1000000 +#define N 10000 static rte_atomic16_t a16; static rte_atomic32_t a32;