[Zodb-checkins] SVN: ZODB/trunk/ the transaction package now has a
separate distribution.
Jim Fulton
jim at zope.com
Sat Jan 5 12:22:08 EST 2008
Log message for revision 82676:
the transaction package now has a separate distribution.
Changed:
_U ZODB/trunk/
U ZODB/trunk/buildout.cfg
U ZODB/trunk/src/ZEO/tests/test_cache.py
-=-
Property changes on: ZODB/trunk
___________________________________________________________________
Name: svn:externals
- transaction svn://svn.zope.org/repos/main/transaction/trunk
+
Modified: ZODB/trunk/buildout.cfg
===================================================================
--- ZODB/trunk/buildout.cfg 2008-01-05 16:49:03 UTC (rev 82675)
+++ ZODB/trunk/buildout.cfg 2008-01-05 17:22:08 UTC (rev 82676)
@@ -1,5 +1,5 @@
[buildout]
-develop = . transaction
+develop = .
parts = test scripts
find-links = http://download.zope.org/distribution/
Modified: ZODB/trunk/src/ZEO/tests/test_cache.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/test_cache.py 2008-01-05 16:49:03 UTC (rev 82675)
+++ ZODB/trunk/src/ZEO/tests/test_cache.py 2008-01-05 17:22:08 UTC (rev 82676)
@@ -68,23 +68,6 @@
return repr_to_oid(repr)
tid = oid
-
-class FileCacheFuzzing(unittest.TestCase):
-
- def testFileCacheFuzzing(self):
- cache_dummy = ClientCacheDummy()
- fc = ZEO.cache.FileCache(maxsize=5000, fpath=None,
- parent=cache_dummy)
- for i in xrange(10000):
- size = random.randint(0,5500)
- obj = ZEO.cache.Object(key=(oid(i), oid(1)), version='',
- data='*'*size, start_tid=oid(1),
- end_tid=None)
- fc.add(obj)
- #hexprint(fc.f)
- fc.close()
-
-
class CacheTests(unittest.TestCase):
def setUp(self):
@@ -285,6 +268,5 @@
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(CacheTests))
- suite.addTest(unittest.makeSuite(FileCacheFuzzing))
suite.addTest(doctest.DocFileSuite('filecache.txt'))
return suite
More information about the Zodb-checkins
mailing list