summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-03-05 05:38:06 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-03-05 05:38:06 (GMT)
commit48309d5a4b7e1a351b0612ac13d172e638b4a1bb (patch)
tree673964eef6e1829f7164c05ddb82776decf8f18a
parentce527883dcf59c70f80e9aab2076f556300af93f (diff)
downloadcpython-48309d5a4b7e1a351b0612ac13d172e638b4a1bb.zip
cpython-48309d5a4b7e1a351b0612ac13d172e638b4a1bb.tar.gz
cpython-48309d5a4b7e1a351b0612ac13d172e638b4a1bb.tar.bz2
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.
-rw-r--r--Lib/test/test_smtplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py
index e458846..bc1ad89 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