Commit 2189a8e5 authored by Jannis Leidel's avatar Jannis Leidel
Browse files

Fixed #16686 -- Reduced time to wait for cache expiration in a test to...

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
parent 6819312c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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/')