#32831: Some cache tests are flaky (e.g. 
cache.tests.BaseMemcachedTests.test_touch)
--------------------------------------+------------------------------------
     Reporter:  Chris Jerdonek        |                    Owner:  (none)
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Cache system)   |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Comment (by Natalia Bidart):

 Another one, different but similar:
 {{{
 ...
 Using shuffle seed: 5526860306 (generated)
 ...
 ======================================================================
 ERROR [0.003s]: test_lru_incr (cache.tests.LocMemCacheTests.test_lru_incr)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/jenkins/workspace/main-
 random/database/spatialite/label/focal/python/python3.12/django/test/utils.py",
 line 446, in inner
     return func(*args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^
   File "/home/jenkins/workspace/main-
 random/database/spatialite/label/focal/python/python3.12/tests/cache/tests.py",
 line 1433, in test_lru_incr
     self.assertEqual(cache.incr(key), key + 1)
                      ^^^^^^^^^^^^^^^
   File "/home/jenkins/workspace/main-
 
random/database/spatialite/label/focal/python/python3.12/django/core/cache/backends/locmem.py",
 line 70, in incr
     raise ValueError("Key '%s' not found" % key)
 ValueError: Key ':1:0' not found

 ----------------------------------------------------------------------
 Ran 17776 tests in 1566.550s

 FAILED (errors=1, skipped=1161, expected failures=5)
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/32831#comment:14>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ed35b4901-bbb9a641-9277-41dd-b4e0-0ecdb13248f2-000000%40eu-central-1.amazonses.com.

Reply via email to