[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/zeo_blob_cache.test Reduced the cache size used in the test to increase the likelihood of
Jim Fulton
jim at zope.com
Thu Dec 18 19:41:51 EST 2008
Log message for revision 94178:
Reduced the cache size used in the test to increase the likelihood of
staying under 5000 bytes. There appears to be a race in the test. If
the cleanup thread is slow enough, it will prevent later cleanup
threads from running. Need to think about this.
Changed:
U ZODB/trunk/src/ZEO/tests/zeo_blob_cache.test
-=-
Modified: ZODB/trunk/src/ZEO/tests/zeo_blob_cache.test
===================================================================
--- ZODB/trunk/src/ZEO/tests/zeo_blob_cache.test 2008-12-18 23:59:56 UTC (rev 94177)
+++ ZODB/trunk/src/ZEO/tests/zeo_blob_cache.test 2008-12-19 00:41:51 UTC (rev 94178)
@@ -22,7 +22,7 @@
We'll also create a client.
>>> import ZEO
- >>> db = ZEO.DB(addr, blob_dir='blobs', blob_cache_size=4000)
+ >>> db = ZEO.DB(addr, blob_dir='blobs', blob_cache_size=3000)
Here, we passed a blob_cache_size parameter, which specifies a target
blob cache size. This is not a hard limit, but rather a target. It
@@ -50,7 +50,7 @@
... conn.root()[i].open('w').write(chr(i)*100)
>>> transaction.commit()
-We've committed 10000 bytes of data, but our target size is 4000. We
+We've committed 10000 bytes of data, but our target size is 3000. We
expect to have not much more than the target size in the cache blob
directory.
More information about the Zodb-checkins
mailing list