Commit 8df524d5 authored by Jim Fulton's avatar Jim Fulton

Only run sync_connect_doesnt_hang on unix, since it uses unix-domain

sockets.
parent 9c3179b3
...@@ -1541,8 +1541,8 @@ def quick_close_doesnt_kill_server(): ...@@ -1541,8 +1541,8 @@ def quick_close_doesnt_kill_server():
True True
>>> db.close() >>> db.close()
""" """
def sync_connect_doesnt_hang(): def sync_connect_doesnt_hang():
r""" r"""
>>> import threading >>> import threading
...@@ -1566,9 +1566,10 @@ def sync_connect_doesnt_hang(): ...@@ -1566,9 +1566,10 @@ def sync_connect_doesnt_hang():
>>> cm.thread.isAlive() >>> cm.thread.isAlive()
False False
>>> ZEO.zrpc.client.ConnectThread = ConnectThread >>> ZEO.zrpc.client.ConnectThread = ConnectThread
""" """
if sys.platform.startswith('win'):
del sync_connect_doesnt_hang
slow_test_classes = [ slow_test_classes = [
BlobAdaptedFileStorageTests, BlobWritableCacheTests, BlobAdaptedFileStorageTests, BlobWritableCacheTests,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment