[Zodb-checkins] CVS: ZODB3/ZEO/tests - speed.py:1.9
Jeremy Hylton
jeremy@zope.com
Thu, 5 Sep 2002 15:28:07 -0400
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv25146/ZEO/tests
Modified Files:
speed.py
Log Message:
Fix speed to use new forker api.
=== ZODB3/ZEO/tests/speed.py 1.8 => 1.9 ===
--- ZODB3/ZEO/tests/speed.py:1.8 Thu Aug 29 12:32:51 2002
+++ ZODB3/ZEO/tests/speed.py Thu Sep 5 15:28:07 2002
@@ -159,8 +159,8 @@
s = s.Storage
server = None
else:
- fs = ZODB.FileStorage.FileStorage(fs_name, create=1)
- s, server, pid = forker.start_zeo(fs, domain=domain)
+ s, server, pid = forker.start_zeo("FileStorage",
+ (fs_name, 1), domain=domain)
data=open(data).read()
db=ZODB.DB(s,