#19914: MemcachedCacheTests failing on pylibmc
-------------------------------------+--------------------
     Reporter:  bpeschier            |      Owner:  nobody
         Type:  Bug                  |     Status:  new
    Component:  Core (Cache system)  |    Version:  master
     Severity:  Normal               |   Keywords:
 Triage Stage:  Unreviewed           |  Has patch:  0
Easy pickings:  0                    |      UI/UX:  0
-------------------------------------+--------------------
 Tests fail due to a bug in either pylibmc or libmemcached (detailts at
 pylibmc-issue: https://github.com/lericson/pylibmc/issues/114)

 {{{
 (sprint)mbdev001:tests basp$ python runtests.py
 --settings=test_sqlite_cache cache.MemcachedCacheTests
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 ...........................E.......
 ======================================================================
 ERROR: test_invalid_keys (regressiontests.cache.tests.MemcachedCacheTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/Users/basp/dev/repos/django/tests/regressiontests/cache/tests.py", line
 963, in tearDown
     self.cache.clear()
   File "/Users/basp/dev/envs/sprint/lib/python2.7/site-
 packages/django/core/cache/backends/memcached.py", line 140, in clear
     self._cache.flush_all()
 SomeErrors: error 19 from flush_all: SUCCESS

 ----------------------------------------------------------------------
 Ran 35 tests in 4.085s

 FAILED (errors=1)
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 }}}

 settings:
 {{{
 CACHES = {
     'default': {
         'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
         'LOCATION': '127.0.0.1:11211',
     }
 }

 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19914>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to