From cb15b52d7335567bf9add28902eee49cffa9070b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Tue, 8 Jul 2014 12:41:15 +0200 Subject: [PATCH] x86: increase timeout in qemu's term Currently `boards/qemu-i386/dist/term.py` expects QEMU to connect in less than 5 seconds, which is plenty on any user machine. Travis CI, which we use without paying a cent, sometimes fails to start QEMU in this is timeframe, though. This PR increases the timeout to one minute. --- boards/qemu-i386/dist/term.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/qemu-i386/dist/term.py b/boards/qemu-i386/dist/term.py index 311937d91d..337b56da0b 100755 --- a/boards/qemu-i386/dist/term.py +++ b/boards/qemu-i386/dist/term.py @@ -70,7 +70,7 @@ def main(QEMU, BINDIRBASE, HEXFILE, DEBUGGER=None): result = 1 try: sock = socket.socket() - sock.settimeout(5) + sock.settimeout(60) sock.bind(('', 0)) sock.listen(1) host, port = sock.getsockname()