[Python-checkins] r61244 - python/trunk/Lib/test/test_smtplib.py
neal.norwitz
python-checkins at python.org
Wed Mar 5 06:38:06 CET 2008
Author: neal.norwitz
Date: Wed Mar 5 06:38:06 2008
New Revision: 61244
Modified:
python/trunk/Lib/test/test_smtplib.py
Log:
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.
Modified: python/trunk/Lib/test/test_smtplib.py
==============================================================================
--- python/trunk/Lib/test/test_smtplib.py (original)
+++ python/trunk/Lib/test/test_smtplib.py Wed Mar 5 06:38:06 2008
@@ -19,7 +19,7 @@
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
More information about the Python-checkins
mailing list