From nobody Wed Nov 5 10:58:05 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1534523118368312.4617180646095; Fri, 17 Aug 2018 09:25:18 -0700 (PDT) Received: from localhost ([::1]:35195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqhYr-00044M-3u for importer@patchew.org; Fri, 17 Aug 2018 12:25:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqhOD-0000wb-NT for qemu-devel@nongnu.org; Fri, 17 Aug 2018 12:14:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqhOC-0006zM-Uw for qemu-devel@nongnu.org; Fri, 17 Aug 2018 12:14:17 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:44538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fqhOC-0006rY-LJ for qemu-devel@nongnu.org; Fri, 17 Aug 2018 12:14:16 -0400 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1fqhO3-0001Pn-Kx; Fri, 17 Aug 2018 17:14:07 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 17 Aug 2018 17:14:04 +0100 Message-Id: <20180817161404.9420-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.18.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:8b0:1d0::2 Subject: [Qemu-devel] [PATCH] tests/boot-serial-test: Bump timeout to 6 minutes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Mark Cave-Ayland , patches@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RDMRC_1 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" On a SPARC host that I'm using as a build test machine, the boot-serial-test for the SPARC guest machines takes about 65 seconds to execute. This means that it hits the current 60 second timer on these tests. Push the timeout up so that it doesn't trigger spuriously on slow hosts like this one. Signed-off-by: Peter Maydell Acked-by: Mark Cave-Ayland Reviewed-by: Thomas Huth --- tests/boot-serial-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c index 1355df924dd..fca5f2f5da9 100644 --- a/tests/boot-serial-test.c +++ b/tests/boot-serial-test.c @@ -116,8 +116,8 @@ static bool check_guest_output(const testdef_t *test, i= nt fd) int i, nbr =3D 0, pos =3D 0, ccnt; char ch; =20 - /* Poll serial output... Wait at most 60 seconds */ - for (i =3D 0; i < 6000; ++i) { + /* Poll serial output... Wait at most 360 seconds */ + for (i =3D 0; i < 36000; ++i) { ccnt =3D 0; while (ccnt++ < 512 && (nbr =3D read(fd, &ch, 1)) =3D=3D 1) { if (ch =3D=3D test->expect[pos]) { --=20 2.18.0