[Checkins] SVN: tempstorage/trunk/src/tempstorage/tests/testTemporaryStorage.py Fix a test failure due to never-unghostified root in second connection.

Tres Seaver tseaver at palladion.com
Sun May 2 13:29:54 EDT 2010


Log message for revision 111873:
  Fix a test failure due to never-unghostified root in second connection.

Changed:
  U   tempstorage/trunk/src/tempstorage/tests/testTemporaryStorage.py

-=-
Modified: tempstorage/trunk/src/tempstorage/tests/testTemporaryStorage.py
===================================================================
--- tempstorage/trunk/src/tempstorage/tests/testTemporaryStorage.py	2010-05-02 17:27:45 UTC (rev 111872)
+++ tempstorage/trunk/src/tempstorage/tests/testTemporaryStorage.py	2010-05-02 17:29:53 UTC (rev 111873)
@@ -68,6 +68,7 @@
         tm2 = transaction.TransactionManager()
         cn2 = db.open(transaction_manager=tm2)
         r2 = cn2.root()
+        ignored = r2["p"] # force a read to unghostify the root.
 
         self.assertEqual(r1._p_serial, r2._p_serial)
 



More information about the checkins mailing list