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 8EF1FA00C2 for ; Thu, 6 Oct 2022 15:27:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87BA142C52; Thu, 6 Oct 2022 15:27:11 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D5C7E42C3C; Thu, 6 Oct 2022 15:27:10 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v3] test/service: fix spurious failures by extending timeout Date: Thu, 6 Oct 2022 15:27:10 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D873A1@smartserver.smartshare.dk> In-Reply-To: <20221006125247.1018265-1-harry.van.haaren@intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3] test/service: fix spurious failures by extending timeout Thread-Index: AdjZgpPMrq/vN1MmTUWkHHrdNXiUTwABJaPw References: <20221006081729.578475-1-harry.van.haaren@intel.com> <20221006125247.1018265-1-harry.van.haaren@intel.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Harry van Haaren" , Cc: , , , , , X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org > From: Harry van Haaren [mailto:harry.van.haaren@intel.com] > Sent: Thursday, 6 October 2022 14.53 >=20 > This commit extends the timeout for service_may_be_active() > from 100ms to 1000ms. Local testing on a idle and loaded system > (compiling DPDK with all cores) always completes after 1 ms. >=20 > The wait time for a service-lcore to finish is also extended > from 100ms to 1000ms. >=20 > The same timeout waiting code was duplicated in two tests, and > is now refactored to a standalone function avoiding duplication. >=20 > Reported-by: David Marchand > Suggested-by: Mattias Ronnblom > Signed-off-by: Harry van Haaren >=20 > --- Acked-by: Morten Br=F8rup