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 <[email protected]>
| Newsgroups | gmane.comp.python.zope.zodb.cvs |
|---|---|
| Message-ID | <20100323224121.E6FA97083BC__8377.95439078963$1269384099$gmane$org@cvs.zope.org> |
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