[Zodb-checkins] CVS: ZEO/ZEO/tests - testZEO.py:1.16.4.12

Jeremy Hylton jeremy@zope.com
Tue, 29 Jan 2002 09:42:48 -0500


Update of /cvs-repository/ZEO/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv8415

Modified Files:
      Tag: Standby-branch
	testZEO.py 
Log Message:
Call start_zeo_server() with args in correct order.



=== ZEO/ZEO/tests/testZEO.py 1.16.4.11 => 1.16.4.12 ===
         path = "%s.%d" % (self.file, index)
         addr = self.addr[index]
-        pid, server = forker.start_zeo_server(addr, 'FileStorage',
-                                              (path, create))
+        pid, server = forker.start_zeo_server('FileStorage',
+                                              (path, create), addr)
         self._pids.append(pid)
         self._servers.append(server)
 
@@ -381,10 +381,10 @@
             port = self.addr[1]
         else:
             port = None
-        self.addr, self.test_a, pid = forker.start_zeo_server(port,
-                                                              'FileStorage',
+        self.addr, self.test_a, pid = forker.start_zeo_server('FileStorage',
                                                               (self.file,
-                                                               str(create)))
+                                                               str(create)),
+                                                              port)
         self.running = 1
 
     def openClientStorage(self, cache='', cache_size=200000, wait=1):