[Zope3-checkins] CVS: Zope3/src/zodb/storage/tests - test_autopack.py:1.14

Barry Warsaw barry@zope.com
Thu, 26 Jun 2003 13:56:34 -0400


Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv16362

Modified Files:
	test_autopack.py 
Log Message:
Disable the TestMinimalClassicPackRaceCondition tests since they can't
work with the current minimal storage pack locking regime.


=== Zope3/src/zodb/storage/tests/test_autopack.py 1.13 => 1.14 ===
--- Zope3/src/zodb/storage/tests/test_autopack.py:1.13	Mon Mar 17 15:25:17 2003
+++ Zope3/src/zodb/storage/tests/test_autopack.py	Thu Jun 26 13:56:33 2003
@@ -524,7 +524,12 @@
         suite.addTest(unittest.makeSuite(TestAutomaticClassicPack))
         suite.addTest(unittest.makeSuite(TestMinimalPack))
         suite.addTest(unittest.makeSuite(TestFullClassicPackRaceCondition))
-        suite.addTest(unittest.makeSuite(TestMinimalClassicPackRaceCondition))
+        # These tests cannot work for minimal storage with the new locking
+        # regime.  The test purposefully does not complete the in-progress
+        # transaction until pack reaches the mark phase, which it can't do
+        # because the outer pack() call tries to acquire the commit lock,
+        # which /it/ can't get.
+        #suite.addTest(unittest.makeSuite(TestMinimalClassicPackRaceCondition))
     return suite