[Zodb-checkins] CVS: ZODB3/ZEO/tests - forker.py:1.21.32.1 winserver.py:1.11.32.1
Jeremy Hylton
jeremy@zope.com
Tue, 17 Dec 2002 18:21:10 -0500
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv5469/ZEO/tests
Modified Files:
Tag: ZODB3-fast-restart-branch
forker.py winserver.py
Log Message:
For testing purposes, make invalidation queue very small.
=== ZODB3/ZEO/tests/forker.py 1.21 => 1.21.32.1 ===
--- ZODB3/ZEO/tests/forker.py:1.21 Thu Sep 26 12:13:45 2002
+++ ZODB3/ZEO/tests/forker.py Tue Dec 17 18:21:10 2002
@@ -145,7 +145,8 @@
ZEOServerExit(rd)
import ZEO.StorageServer, ZEO.zrpc.server
storage = load_storage(storage_name, args)
- server = ZEO.StorageServer.StorageServer(addr, {'1':storage}, ro_svr)
+ server = ZEO.StorageServer.StorageServer(addr, {'1':storage}, ro_svr,
+ invalidation_queue_size=2)
ZEO.zrpc.server.loop()
storage.close()
if isinstance(addr, types.StringType):
=== ZODB3/ZEO/tests/winserver.py 1.11 => 1.11.32.1 ===
--- ZODB3/ZEO/tests/winserver.py:1.11 Tue Oct 1 14:13:10 2002
+++ ZODB3/ZEO/tests/winserver.py Tue Dec 17 18:21:10 2002
@@ -67,7 +67,8 @@
test_port = zeo_port + 1
t = ZEOTestServer(('', test_port), storage)
addr = ('', zeo_port)
- serv = ZEO.StorageServer.StorageServer(addr, {'1': storage}, ro_svr)
+ serv = ZEO.StorageServer.StorageServer(addr, {'1': storage}, ro_svr,
+ invalidation_queue_size=2)
asyncore.loop()
# XXX The code below is evil because it can cause deadlocks in zrpc.
# (To fix it, calling ThreadedAsync._start_loop() might help.)