From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B320145761; Thu, 8 Aug 2024 00:24:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92C9A4066F; Thu, 8 Aug 2024 00:24:52 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 949C6402AD for ; Thu, 8 Aug 2024 00:24:51 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-7c1f480593bso268440a12.0 for ; Wed, 07 Aug 2024 15:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1723069490; x=1723674290; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=7s3xKFCAO5rCLjhsFNNfLSOe47esmogd8guqKDndVYs=; b=lTVYsoZG/eWbFyxwKYci9c8xvFVkZd9AkEq+ooYHxKmauyxOu10BYJB1qhOoL0LxAr CkzYYEn2enCYBn31gNAo787uTl8iriGKEr+DehtEAHCzHUMM+H9MAEy8pmxi/lAyIuGO j9coRHoY9b5kZYT5MV69RxUpIv8J92aWmi6/hrkOeLpMjbZmhQKIlReK67kS4u1YxI8x XV2FQ+rq5uWScp9Hj11lGZPsv66j8Vx/Vnk3KM/M0DbZNTBlGJX/DO7RlmRechU75I5T nkL58l9maFioqPvQ9D+oZ2+1d1HRSy9cT6t2t6qPdhLhIxJdjbeagDmbyonNsD6hWdzk hqfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723069490; x=1723674290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7s3xKFCAO5rCLjhsFNNfLSOe47esmogd8guqKDndVYs=; b=MBPFP9GCqAT/k5BWV5C8EpnS/4Lsn2w3Rhc39vLsPTRITVUKYbn6TJbc0U+/nRHx4C szo1ANnOq1F5O2B+XECJByCtHbxoVe14Ku3OlY8as4AGQognknaGMqI9GIeSGTVC9nUr BKKd4RZZA/9BvWkQTp3RTZ0AJMXk/XC78gxJS2EYtLzD/GxSlR5Xcvot1nRlvqbaSfeo o6RUE5enXawj6SzxAHSwdxHR33bEEL+Xx/iEJDn3atRrFaUcUfIDewNtXUfVcppQ8cBC udUfpS6/IjhM8yG8Q+dblkF6whTtrtmQ/pEe3MA3NBTGMReexFEeXddn2QaZD/Cfdxk8 02nQ== X-Gm-Message-State: AOJu0Yy8PWjMjsJtKPA92Gagxu7H9WIP1SNSw6XoMznyEiGIhMNsv0Rc sb7GgW+9VaH/HALXiekmztJ1PjiMvC7iIJympYnPaffbRg0uL0PX+twegg3FTDE= X-Google-Smtp-Source: AGHT+IFNoZ2Q0GwX8hvkWbfL0H0BWiIOts3Kbe7J+WFTyxT8lW1QUcGcWyIH61UDoHCX1LZuPyXhcw== X-Received: by 2002:a05:6a21:6b0a:b0:1c2:94ad:1c67 with SMTP id adf61e73a8af0-1c699563513mr20398129637.30.1723069490452; Wed, 07 Aug 2024 15:24:50 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710cb2d090esm3194b3a.102.2024.08.07.15.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 15:24:50 -0700 (PDT) Date: Wed, 7 Aug 2024 15:24:48 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, Tyler Retzlaff , Aaron Conole Subject: Re: [PATCH 1/4] test: update alarm test Message-ID: <20240807152448.48fc566c@hermes.local> In-Reply-To: References: <20240718191049.84865-1-stephen@networkplumber.org> <20240718191049.84865-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, 6 Aug 2024 14:45:45 +0200 David Marchand wrote: > On Thu, Jul 18, 2024 at 9:11=E2=80=AFPM Stephen Hemminger > wrote: > > > > This test should be using the TEST_ASSERT macros, and can be > > run as part of the fast test suite now. > > > > Signed-off-by: Stephen Hemminger =20 >=20 > [...] >=20 > > + ret =3D rte_eal_alarm_cancel(test_alarm_callback, NULL); > > + /* return is the number of the alarm set (or 0 if none or -1 if= error) */ > > + TEST_ASSERT(ret > 0, "could not cancel an alarm: %d", ret); > > > > return 0; > > } > > > > -REGISTER_TEST_COMMAND(alarm_autotest, test_alarm); > > +REGISTER_FAST_TEST(alarm_autotest, true, true, test_alarm); =20 >=20 > This test was removed from the fast-tests list as it was triggering > false failures in some CI. > ee00af60170b ("test: remove strict timing requirements some tests") >=20 >=20 Maybe test can be fixed to use different time values. Or like lcore tests, some yielding is needed.