Kaydet (Commit) 25329671 authored tarafından Neal Norwitz's avatar Neal Norwitz

Merged revisions 66028 via svnmerge from

svn+ssh://pythondev@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
........
üst ec105ad4
...@@ -220,6 +220,10 @@ class DebuggingServerTests(TestCase): ...@@ -220,6 +220,10 @@ class DebuggingServerTests(TestCase):
m = 'A test message' m = 'A test message'
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3) smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
smtp.sendmail('John', 'Sally', m) 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() smtp.quit()
self.client_evt.set() self.client_evt.set()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment