neal.norwitz
2008-08-25 03:55:03 UTC
Author: neal.norwitz
Date: Mon Aug 25 05:55:03 2008
New Revision: 66029
Log:
Merged revisions 66028 via svnmerge from
svn+ssh://pythondev at svn.python.org/python/trunk
........
r66028 | neal.norwitz | 2008-08-24 20:52:40 -0700 (Sun, 24 Aug 2008) | 1 line
Try to reduce the flakiness of this test
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_smtplib.py
Modified: python/branches/py3k/Lib/test/test_smtplib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_smtplib.py (original)
+++ python/branches/py3k/Lib/test/test_smtplib.py Mon Aug 25 05:55:03 2008
@@ -220,6 +220,10 @@
m = 'A test message'
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
smtp.sendmail('John', 'Sally', m)
+ # XXX(nnorwitz): this test is flaky and dies with a bad file descriptor
+ # in asyncore. This sleep might help, but should really be fixed
+ # properly by using an Event variable.
+ time.sleep(0.01)
smtp.quit()
self.client_evt.set()
Date: Mon Aug 25 05:55:03 2008
New Revision: 66029
Log:
Merged revisions 66028 via svnmerge from
svn+ssh://pythondev at svn.python.org/python/trunk
........
r66028 | neal.norwitz | 2008-08-24 20:52:40 -0700 (Sun, 24 Aug 2008) | 1 line
Try to reduce the flakiness of this test
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_smtplib.py
Modified: python/branches/py3k/Lib/test/test_smtplib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_smtplib.py (original)
+++ python/branches/py3k/Lib/test/test_smtplib.py Mon Aug 25 05:55:03 2008
@@ -220,6 +220,10 @@
m = 'A test message'
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
smtp.sendmail('John', 'Sally', m)
+ # XXX(nnorwitz): this test is flaky and dies with a bad file descriptor
+ # in asyncore. This sleep might help, but should really be fixed
+ # properly by using an Event variable.
+ time.sleep(0.01)
smtp.quit()
self.client_evt.set()