Opened 4 years ago
Last modified 4 months ago
#32831 closed Cleanup/optimization
Flaky test in CI: cache.tests.BaseMemcachedTests.test_touch — at Version 1
Reported by: | Chris Jerdonek | Owned by: | nobody |
---|---|---|---|
Component: | Core (Cache system) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
The following tests occasionally fail in CI:
cache.tests.PyLibMCCacheTests.test_touch
cache.tests.PyMemcacheCacheTests.test_touch
Traceback (most recent call last): File "/home/jenkins/workspace/pull-requests-bionic/database/sqlite3/label/bionic-pr/python/python3.8/tests/cache/tests.py", line 481, in test_touch self.assertIs(cache.touch('expire1'), True) AssertionError: False is not True
The line that fails is here: https://github.com/django/django/blob/ed3af3ff4b3cfb72de598f1b39a1028ba3826efb/tests/cache/tests.py#L481
Both test classes inherit from BaseCacheTests
.
Note:
See TracTickets
for help on using tickets.