From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 690FDC433E0 for ; Tue, 28 Jul 2020 03:42:03 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 19A30206D4 for ; Tue, 28 Jul 2020 03:42:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19A30206D4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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 --- 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; -- 2.7.4