#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):
Cache flaky test in main-random:
{{{
> git init /home/jenkins/workspace/main-
random/database/spatialite/label/focal/python/python3.12 # timeout=10
...
Using shuffle seed: 5744808359 (generated)
...
======================================================================
FAIL [0.004s]: test_lru_get (cache.tests.LocMemCacheTests.test_lru_get)
----------------------------------------------------------------------
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 1406, in test_lru_get
self.assertEqual(cache.get(key), key)
AssertionError: None != 0
----------------------------------------------------------------------
Ran 17769 tests in 1613.662s
FAILED (failures=1, skipped=1160, expected failures=5)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32831#comment:13>
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/0107018e8ac310c8-e1f62106-db07-44ee-bece-8b3d1b2f80e2-000000%40eu-central-1.amazonses.com.