[Zodb-checkins] SVN: ZODB/branches/3.9/src/ZODB/tests/testConnection.py Added back the second test condition, otherwise the test wasn't failing on some platforms without the actual code change

Hanno Schlichting hannosch at hannosch.eu
Tue Mar 23 18:41:21 EDT 2010


Log message for revision 110123:
  Added back the second test condition, otherwise the test wasn't failing on some platforms without the actual code change
  

Changed:
  U   ZODB/branches/3.9/src/ZODB/tests/testConnection.py

-=-
Modified: ZODB/branches/3.9/src/ZODB/tests/testConnection.py
===================================================================
--- ZODB/branches/3.9/src/ZODB/tests/testConnection.py	2010-03-23 22:01:16 UTC (rev 110122)
+++ ZODB/branches/3.9/src/ZODB/tests/testConnection.py	2010-03-23 22:41:21 UTC (rev 110123)
@@ -680,6 +680,8 @@
         transaction.savepoint()
         # make sure there was no overflow
         self.assert_(cache.total_estimated_size != 0)
+        # the size is not larger than the allowed maximum
+        self.assert_(cache.total_estimated_size <= 1000)
 
 # ---- stubs
 



More information about the Zodb-checkins mailing list