Make the timeout longer to give slow machines a chance to pass the test
before timing out. This doesn't change the duration of the test under normal circumstances. This is targetted at fixing the spurious failures on the FreeBSD buildbot primarily.
This commit is contained in:
parent
ce527883dc
commit
48309d5a4b
|
@ -19,7 +19,7 @@ PORT = None
|
|||
|
||||
def server(evt, buf):
|
||||
serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
serv.settimeout(1)
|
||||
serv.settimeout(15)
|
||||
serv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
serv.bind(("", 0))
|
||||
global PORT
|
||||
|
|
Loading…
Reference in New Issue