[Zope-Checkins] SVN: Zope/trunk/src/Products/Transience/tests/testTransientObject.py The joy of different time resolutions

Hanno Schlichting hannosch at hannosch.eu
Sat May 1 08:58:05 EDT 2010


Log message for revision 111821:
  The joy of different time resolutions
  

Changed:
  U   Zope/trunk/src/Products/Transience/tests/testTransientObject.py

-=-
Modified: Zope/trunk/src/Products/Transience/tests/testTransientObject.py
===================================================================
--- Zope/trunk/src/Products/Transience/tests/testTransientObject.py	2010-05-01 12:12:37 UTC (rev 111820)
+++ Zope/trunk/src/Products/Transience/tests/testTransientObject.py	2010-05-01 12:58:04 UTC (rev 111821)
@@ -73,7 +73,7 @@
         t = self.t.new('xyzzy')
         ft = fauxtime.time()
         self.assert_(t.getLastAccessed() <= ft)
-        fauxtime.sleep(self.timeout)   # go to sleep past the granuarity
+        fauxtime.sleep(self.timeout * 2)   # go to sleep past the granularity
         ft2 = fauxtime.time()
         t.setLastAccessed()
         ft3 = fauxtime.time()



More information about the Zope-Checkins mailing list