[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/test_cache.py Don't run certain large-file test except on linux.

Jim Fulton jim at zope.com
Sat Nov 15 15:59:56 EST 2008


Log message for revision 92989:
  Don't run certain large-file test except on linux.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/test_cache.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/test_cache.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/test_cache.py	2008-11-15 20:25:51 UTC (rev 92988)
+++ ZODB/trunk/src/ZEO/tests/test_cache.py	2008-11-15 20:59:56 UTC (rev 92989)
@@ -223,6 +223,13 @@
         self.assertEquals(struct.unpack(">I", f.read(4))[0],
                           ZEO.cache.max_block_size)
         f.close()
+
+    if not sys.platform.startswith('linux'):
+        # On platforms without sparse files, these tests are just way
+        # too hard on the disk and take too long (especially in a windows
+        # VM).
+        del testVeryLargeCaches
+        del testConversionOfLargeFreeBlocks
         
     def testChangingCacheSize(self):
         # start with a small cache



More information about the Zodb-checkins mailing list