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

antoine.pitrou python-checkins at python.org
Fri Jan 27 17:37:36 CET 2012


http://hg.python.org/cpython/rev/76d60fcef3db
changeset:   74659:76d60fcef3db
branch:      3.2
parent:      74656:089a086252fc
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
@@ -911,6 +911,7 @@
                                          + repr(connaddr) + '\n')
                     handler = self.ConnectionHandler(self, newconn, connaddr)
                     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