From: <pj...@us...> - 2008-05-29 06:16:27
|
Revision: 4470 http://jython.svn.sourceforge.net/jython/?rev=4470&view=rev Author: pjenvey Date: 2008-05-28 23:16:26 -0700 (Wed, 28 May 2008) Log Message: ----------- fix intermittent failures in testShutdown: the server occasionally tearsDown before the client finishes, causing a socket not connected error during client shutdown(). so block server tearDowns until clients are ready to tearDown Modified Paths: -------------- trunk/jython/Lib/test/test_socket.py Modified: trunk/jython/Lib/test/test_socket.py =================================================================== --- trunk/jython/Lib/test/test_socket.py 2008-05-29 05:29:20 UTC (rev 4469) +++ trunk/jython/Lib/test/test_socket.py 2008-05-29 06:16:26 UTC (rev 4470) @@ -123,8 +123,8 @@ self.client_ready.wait() def _tearDown(self): + self.done.wait() self.__tearDown() - self.done.wait() if not self.queue.empty(): msg = self.queue.get() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |