[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/zeo-fan-out.test Minor changes for windows.

Jim Fulton jim at zope.com
Fri May 11 18:46:18 EDT 2007


Log message for revision 75695:
  Minor changes for windows.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/zeo-fan-out.test

-=-
Modified: ZODB/trunk/src/ZEO/tests/zeo-fan-out.test
===================================================================
--- ZODB/trunk/src/ZEO/tests/zeo-fan-out.test	2007-05-11 22:42:53 UTC (rev 75694)
+++ ZODB/trunk/src/ZEO/tests/zeo-fan-out.test	2007-05-11 22:46:18 UTC (rev 75695)
@@ -34,8 +34,8 @@
 Now, let's create some client storages that connect to these:
 
     >>> import ZEO.ClientStorage
-    >>> cs1 = ZEO.ClientStorage.ClientStorage(('', port1), '1')
-    >>> cs2 = ZEO.ClientStorage.ClientStorage(('', port2), '1')
+    >>> cs1 = ZEO.ClientStorage.ClientStorage(('localhost', port1), '1')
+    >>> cs2 = ZEO.ClientStorage.ClientStorage(('localhost', port2), '1')
 
 And some databases and connections around these:
 
@@ -142,3 +142,11 @@
     >>> ZEO.tests.forker.shutdown_zeo_server(adminaddr0)
     >>> ZEO.tests.forker.shutdown_zeo_server(adminaddr1)
     >>> ZEO.tests.forker.shutdown_zeo_server(adminaddr2)
+
+Wait for processed to stop on windows, since we can't remove the test
+dir until they do. :(
+
+    >>> import sys
+    >>> if sys.platform == 'win32':
+    ...    import time
+    ...    time.sleep(10)



More information about the Zodb-checkins mailing list