From 48309d5a4b7e1a351b0612ac13d172e638b4a1bb Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 5 Mar 2008 05:38:06 +0000 Subject: [PATCH] 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. --- Lib/test/test_smtplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index e458846078..bc1ad8920b 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -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 -- 2.50.1