Fixed #16686 -- Reduced time to wait for cache expiration in a test to alleviate race-condition-y effects.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-09-08 13:25:24 +00:00
parent 6819312c98
commit 2189a8e50a
1 changed files with 1 additions and 1 deletions

View File

@ -1408,7 +1408,7 @@ class CacheMiddlewareTest(unittest.TestCase):
other_view = cache_page(cache='other')(hello_world_view)
other_with_prefix_view = cache_page(cache='other', key_prefix='prefix2')(hello_world_view)
other_with_timeout_view = cache_page(4, cache='other', key_prefix='prefix3')(hello_world_view)
other_with_timeout_view = cache_page(3, cache='other', key_prefix='prefix3')(hello_world_view)
request = self.factory.get('/view/')