From patchwork Fri Aug 17 16:14:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 144489 Delivered-To: patches@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp958078ljj; Fri, 17 Aug 2018 09:14:09 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxGJJO6ejB7PzSwlSbCg+206vhz6UUNT/qTPbk71z9cuTcRo8nF+ygL6lqqT3ZXFSgte7JX X-Received: by 2002:a1c:8d0a:: with SMTP id p10-v6mr19809701wmd.121.1534522449292; Fri, 17 Aug 2018 09:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534522449; cv=none; d=google.com; s=arc-20160816; b=V1oMTOuNlGwBGTaARAINBXLwKmCSvUbGNqLXZHfEtMisSrKEAm4vgX0TdbkBH03T2l 6Zuxsq6jWX+bHmS0I7lGtavxgbfUoVGuMvq8RyF06JYdfs+X+rgef8I21KQ7FJ3DKpDe ybpvVbgllZRNPEZQNsIwwh+ECpa96aYKYa9Oh0HiRGq50nCt+3aY2+GhCqhJtyEUFfIR J7/DeyS/UzXaHD2u9R4SUvgsfosCNCyAqGrE+pjoJk9wn3juiUTYvl2Y13D9tfG2ALmi Il6oR8wN2aH4LA7kfa8/KiMvrcKuX15wM4qRMokbI8pAFDA2ef/0YQpUBk25nxvpSrC4 jJng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=ESKYVrb1NB8Ro3O+T2q39qQwG8B3sVw+7Hse8P1Oblk=; b=KUeRCb0eoVts++B/m+pS0Yrlufb3PLybSq6ikI5fiirLHu9b1u1DzTNQkwEUDYZj1r WsMwcfDrdjO9Lyg4Wcm2zW4ZZN/H48Ua6gA+XIFHOJZhGsLSOHhUTNln2xUxiGBb4Ij2 gix12r/1v1ba6MZ2nRTUyhAHoAI7LTkhHPaQ7ooP891oy4c3e5nfH9Kh9/jSAvJc6myQ D+cVmXY0OQjGBzzf9lmN92nPr4YBmBAdBu6bBHnLf8r9UBo6YwYefNTWJZHN0uL46E+1 q+VySPsM03SfOUKgOA23Y2YRbnqotgtVsK1i/PqcmB5O/HJSbNGuCyD0mdrLm04+soxp rmMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by mx.google.com with ESMTPS id h5-v6si1065536wrm.44.2018.08.17.09.14.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Aug 2018 09:14:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) client-ip=2001:8b0:1d0::2; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 Cc: patches@linaro.org, Thomas Huth , Mark Cave-Ayland Subject: [PATCH] tests/boot-serial-test: Bump timeout to 6 minutes 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 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 --- tests/boot-serial-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.18.0 Acked-by: Mark Cave-Ayland Reviewed-by: Thomas Huth 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, int fd) int i, nbr = 0, pos = 0, ccnt; char ch; - /* Poll serial output... Wait at most 60 seconds */ - for (i = 0; i < 6000; ++i) { + /* Poll serial output... Wait at most 360 seconds */ + for (i = 0; i < 36000; ++i) { ccnt = 0; while (ccnt++ < 512 && (nbr = read(fd, &ch, 1)) == 1) { if (ch == test->expect[pos]) {