diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-17 17:14:04 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-20 10:39:27 +0100 |
commit | 627fce617868df87b3757375a2a0318ad2beb381 (patch) | |
tree | e4705082426b44d9da9a6359aeac7ad9648a672a /tests/boot-serial-test.c | |
parent | adaec191bfb31e12d40af8ab1b869f5b40d61ee9 (diff) | |
download | qemu-627fce617868df87b3757375a2a0318ad2beb381.zip qemu-627fce617868df87b3757375a2a0318ad2beb381.tar.gz qemu-627fce617868df87b3757375a2a0318ad2beb381.tar.bz2 |
tests/boot-serial-test: Bump timeout to 6 minutes
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 <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-id: 20180817161404.9420-1-peter.maydell@linaro.org
Diffstat (limited to 'tests/boot-serial-test.c')
-rw-r--r-- | tests/boot-serial-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c index 1355df9..fca5f2f 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]) { |