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

Try to reduce the flakiness of this test

üst 2a7767a1
......@@ -212,6 +212,10 @@ class DebuggingServerTests(TestCase):
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()
......
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