##// END OF EJS Templates
tests: decrease sql_cache_short beaker config to 1 s to match hack in fixture.anon_access
Mads Kiilerich -
r4849:5e94c0f9 default
parent child Browse files
Show More
@@ -57,7 +57,7 b' class Fixture(object):'
57 anon.active = status
57 anon.active = status
58 Session().add(anon)
58 Session().add(anon)
59 Session().commit()
59 Session().commit()
60 time.sleep(1.5) # must sleep for cache (1s to expire)
60 time.sleep(1.5) # hack: wait for beaker sql_cache_short to expire
61
61
62 def __exit__(self, exc_type, exc_val, exc_tb):
62 def __exit__(self, exc_type, exc_val, exc_tb):
63 anon = User.get_default_user()
63 anon = User.get_default_user()
@@ -321,7 +321,7 b' beaker.cache.long_term.expire=36000'
321 beaker.cache.long_term.key_length = 256
321 beaker.cache.long_term.key_length = 256
322
322
323 beaker.cache.sql_cache_short.type=memory
323 beaker.cache.sql_cache_short.type=memory
324 beaker.cache.sql_cache_short.expire=10
324 beaker.cache.sql_cache_short.expire=1
325 beaker.cache.sql_cache_short.key_length = 256
325 beaker.cache.sql_cache_short.key_length = 256
326
326
327 beaker.cache.sql_cache_med.type=memory
327 beaker.cache.sql_cache_med.type=memory
General Comments 0
You need to be logged in to leave comments. Login now