mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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:
parent
6819312c98
commit
2189a8e50a
2
tests/regressiontests/cache/tests.py
vendored
2
tests/regressiontests/cache/tests.py
vendored
@ -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/')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user