Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Randomized KEY_PREFIX in caches test to prevent failures during paral…

…lel testruns.
  • Loading branch information...
commit 101da92ebdf913d60b114ff4ebeef6e776e8bc6e 1 parent ce5ad81
@apollo13 apollo13 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/cache/tests.py
View
2  tests/cache/tests.py
@@ -197,7 +197,7 @@ def custom_key_func(key, key_prefix, version):
_caches_setting_base = {
'default': {},
- 'prefix': {'KEY_PREFIX': 'cacheprefix'},
+ 'prefix': {'KEY_PREFIX': 'cacheprefix{}'.format(os.getpid())},
'v2': {'VERSION': 2},
'custom_key': {'KEY_FUNCTION': custom_key_func},
'custom_key2': {'KEY_FUNCTION': 'cache.tests.custom_key_func'},

0 comments on commit 101da92

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