Update of /cvsroot/pywin32/pywin32/win32/test
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23351/win32/test
Modified Files:
test_win32file.py
Log Message:
failed attempt to stop test hanging on failure, which it does for me on 64bits
Index: test_win32file.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** test_win32file.py 27 Nov 2008 11:11:11 -0000 1.16
--- test_win32file.py 6 Dec 2008 00:47:23 -0000 1.17
***************
*** 231,234 ****
--- 231,236 ----
thread = threading.Thread(target=self._IOCPServerThread, args=(handle,port, test_overlapped_death))
+ # hrmph - markh is seeing failures here on x64 - and a hang!
+ thread.setDaemon(True) # avoid hanging entire test suite on failure.
thread.start()
try:
***************
*** 242,246 ****
finally:
handle.Close()
! thread.join()
def testCompletionPortsNonQueuedBadReference(self):
--- 244,249 ----
finally:
handle.Close()
! thread.join(3)
! self.failIf(thread.isAlive(), "thread didn't finish")
def testCompletionPortsNonQueuedBadReference(self):
|