#32831: Flaky test in CI: cache.tests.BaseMemcachedTests.test_touch
--------------------------------------+------------------------------------
     Reporter:  Chris Jerdonek        |                    Owner:  nobody
         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
--------------------------------------+------------------------------------
Description changed by Chris Jerdonek:

Old description:

> 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`.

New description:

 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 `BaseMemcachedTests`, which inherits from
 `BaseCacheTests`.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32831#comment:3>
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/067.fa2fa167e584f73d29702015111a9e51%40djangoproject.com.

Reply via email to