[Python-checkins] cpython (2.7): Fix intermittent test_ssl failure.

antoine.pitrou python-checkins at python.org
Fri Jan 27 17:39:23 CET 2012


http://hg.python.org/cpython/rev/f2360aafc450
changeset:   74661:f2360aafc450
branch:      2.7
parent:      74658:b2db66bc8e7f
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Fri Jan 27 17:33:01 2012 +0100
summary:
  Fix intermittent test_ssl failure.

files:
  Lib/test/test_ssl.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -562,6 +562,7 @@
                                          + str(connaddr) + '\n')
                     handler = self.ConnectionHandler(self, newconn)
                     handler.start()
+                    handler.join()
                 except socket.timeout:
                     pass
                 except KeyboardInterrupt:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list