{"id":19299,"url":"https://patchwork.libcamera.org/api/patches/19299/?format=json","web_url":"https://patchwork.libcamera.org/patch/19299/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20231206210524.20974-6-laurent.pinchart@ideasonboard.com>","date":"2023-12-06T21:05:23","name":"[libcamera-devel,5/6] test: ipc: unixsocket: Increase process exit timeout","commit_ref":"efcda47985cbb631418449a57f3ade80ca12f8cb","pull_url":null,"state":"accepted","archived":false,"hash":"605cbac296444c8e124252077f0b0e43be2dd1e4","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/19299/mbox/","series":[{"id":4109,"url":"https://patchwork.libcamera.org/api/series/4109/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4109","date":"2023-12-06T21:05:18","name":"test: Miscellaneous fixes and improvements for unit tests","version":1,"mbox":"https://patchwork.libcamera.org/series/4109/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/19299/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/19299/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id ED24FC32BC\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  6 Dec 2023 21:05:27 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A616662B31;\n\tWed,  6 Dec 2023 22:05:27 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 37F7862B40\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  6 Dec 2023 22:05:25 +0100 (CET)","from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi\n\t[213.243.189.158])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 00D77E45;\n\tWed,  6 Dec 2023 22:04:43 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1701896727;\n\tbh=b5T/V/srdsaZDndfW+ogTTPOhjXAk2J80OghXy8o3mc=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=i96DR18n96QU1wrN0IuteqFVtQn85bSXgmlx/53p7Jy3gwIPXdSaibKrwDLGZSmU7\n\t9LNdXkK3TzeiIqq8i3K+UULA5Y1XoJWYgvoNIBvO/7MwX7wYRBCCTqpOwOh+Z3O+XS\n\top4erXBhHyC+J+YTdaxa41zMJPskqTj52es+6NVRSNWckn/lI14sjBRRdYUh68VBpa\n\txMt6Yp79JUlLd97W1FjE6wm2j1vqEVUx3ckB2bmjFg1QhSADWe2imc9lHZl9+ZlzsA\n\tYtMUPMh+Yd7nNmD/ZyO/A1wkhls3awidkNxpWuA6bVEpG5EydLoA7OC0Sgl9ZejIDk\n\tJWfu2Av3IJzLw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1701896684;\n\tbh=b5T/V/srdsaZDndfW+ogTTPOhjXAk2J80OghXy8o3mc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=tDvtS46fmtbFNe0UIkbUAkdgbYdeNVYAlRQ+v8zyRgInXt8D0LjCLePJ4AnzcZswK\n\tM2vhCA9eCGagf3uYq/k8K8MkL4COJqs9zVhJ+v+1Vuu1RCZ4kMWUaeGxKsRwiZyrOi\n\taEUjKuc5s/kB+4LgdkXin2HfwcStWZrSp2SHGph8="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"tDvtS46f\"; dkim-atps=neutral","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","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 5/6] test: ipc: unixsocket: Increase\n\tprocess exit timeout","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"Nicolas Dufresne <nicolas.dufresne@collabora.com>,\n\tVedant Paranjape <vedantparanjape160201@gmail.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"When running tests on slower devices, 200ms is too low to wait for the\nprocess to exit. Increase the timeout to 2s.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n test/ipc/unixsocket.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/test/ipc/unixsocket.cpp b/test/ipc/unixsocket.cpp\nindex 304e613bc984..1d4df28726cd 100644\n--- a/test/ipc/unixsocket.cpp\n+++ b/test/ipc/unixsocket.cpp\n@@ -431,7 +431,7 @@ private:\n \t\tif (ret)\n \t\t\treturn ret;\n \n-\t\ttimeout.start(200ms);\n+\t\ttimeout.start(2s);\n \t\twhile (!callDone_) {\n \t\t\tif (!timeout.isRunning()) {\n \t\t\t\tcerr << \"Call timeout!\" << endl;\n","prefixes":["libcamera-devel","5/6"]}