Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…o alleviate race-condition-y effects.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2189a8e50ab7e0c76193fe1a18934641c9a05ff0 1 parent 6819312
Jannis Leidel authored September 08, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tests/regressiontests/cache/tests.py
2  tests/regressiontests/cache/tests.py
@@ -1408,7 +1408,7 @@ def test_view_decorator(self):
1408 1408
 
1409 1409
         other_view = cache_page(cache='other')(hello_world_view)
1410 1410
         other_with_prefix_view = cache_page(cache='other', key_prefix='prefix2')(hello_world_view)
1411  
-        other_with_timeout_view = cache_page(4, cache='other', key_prefix='prefix3')(hello_world_view)
  1411
+        other_with_timeout_view = cache_page(3, cache='other', key_prefix='prefix3')(hello_world_view)
1412 1412
 
1413 1413
         request = self.factory.get('/view/')
1414 1414
 

0 notes on commit 2189a8e

Please sign in to comment.
Something went wrong with that request. Please try again.