From patchwork Wed Dec 6 21:05:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19299 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id ED24FC32BC for ; Wed, 6 Dec 2023 21:05:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A616662B31; Wed, 6 Dec 2023 22:05:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701896727; bh=b5T/V/srdsaZDndfW+ogTTPOhjXAk2J80OghXy8o3mc=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=i96DR18n96QU1wrN0IuteqFVtQn85bSXgmlx/53p7Jy3gwIPXdSaibKrwDLGZSmU7 9LNdXkK3TzeiIqq8i3K+UULA5Y1XoJWYgvoNIBvO/7MwX7wYRBCCTqpOwOh+Z3O+XS op4erXBhHyC+J+YTdaxa41zMJPskqTj52es+6NVRSNWckn/lI14sjBRRdYUh68VBpa xMt6Yp79JUlLd97W1FjE6wm2j1vqEVUx3ckB2bmjFg1QhSADWe2imc9lHZl9+ZlzsA YtMUPMh+Yd7nNmD/ZyO/A1wkhls3awidkNxpWuA6bVEpG5EydLoA7OC0Sgl9ZejIDk JWfu2Av3IJzLw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 37F7862B40 for ; Wed, 6 Dec 2023 22:05:25 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tDvtS46f"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 00D77E45; Wed, 6 Dec 2023 22:04:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701896684; bh=b5T/V/srdsaZDndfW+ogTTPOhjXAk2J80OghXy8o3mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tDvtS46fmtbFNe0UIkbUAkdgbYdeNVYAlRQ+v8zyRgInXt8D0LjCLePJ4AnzcZswK M2vhCA9eCGagf3uYq/k8K8MkL4COJqs9zVhJ+v+1Vuu1RCZ4kMWUaeGxKsRwiZyrOi aEUjKuc5s/kB+4LgdkXin2HfwcStWZrSp2SHGph8= To: libcamera-devel@lists.libcamera.org Date: Wed, 6 Dec 2023 23:05:23 +0200 Message-ID: <20231206210524.20974-6-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231206210524.20974-1-laurent.pinchart@ideasonboard.com> References: <20231206210524.20974-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 5/6] test: ipc: unixsocket: Increase process exit timeout X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Cc: Nicolas Dufresne , Vedant Paranjape Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" When running tests on slower devices, 200ms is too low to wait for the process to exit. Increase the timeout to 2s. Signed-off-by: Laurent Pinchart Reviewed-by: Nicolas Dufresne Reviewed-by: Kieran Bingham --- test/ipc/unixsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ipc/unixsocket.cpp b/test/ipc/unixsocket.cpp index 304e613bc984..1d4df28726cd 100644 --- a/test/ipc/unixsocket.cpp +++ b/test/ipc/unixsocket.cpp @@ -431,7 +431,7 @@ private: if (ret) return ret; - timeout.start(200ms); + timeout.start(2s); while (!callDone_) { if (!timeout.isRunning()) { cerr << "Call timeout!" << endl;