From: <zy...@us...> - 2009-06-06 01:09:40
|
Revision: 6453 http://jython.svn.sourceforge.net/jython/?rev=6453&view=rev Author: zyasoft Date: 2009-06-06 01:09:38 +0000 (Sat, 06 Jun 2009) Log Message: ----------- Relaxed timeout for thread safety tests for architectures with somewhat slower execution. Modified Paths: -------------- trunk/jython/Lib/test/test_list_jy.py Modified: trunk/jython/Lib/test/test_list_jy.py =================================================================== --- trunk/jython/Lib/test/test_list_jy.py 2009-06-05 15:50:54 UTC (rev 6452) +++ trunk/jython/Lib/test/test_list_jy.py 2009-06-06 01:09:38 UTC (rev 6453) @@ -60,8 +60,10 @@ t = threading.Thread(target=f) t.start() threads.append(t) + timeout = 10. # be especially generous for t in threads: - t.join(1.) + t.join(timeout) + timeout = 0. for t in threads: self.assertFalse(t.isAlive()) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |