From 2189a8e50ab7e0c76193fe1a18934641c9a05ff0 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 8 Sep 2011 13:25:24 +0000 Subject: [PATCH] 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 --- tests/regressiontests/cache/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regressiontests/cache/tests.py b/tests/regressiontests/cache/tests.py index fad60570c9d..174581bc571 100644 --- a/tests/regressiontests/cache/tests.py +++ b/tests/regressiontests/cache/tests.py @@ -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/')