Code

Opened 7 years ago

Closed 7 years ago

#5981 closed (fixed)

regressiontests.cache.tests.Cache test failing with locmem cache backend

Reported by: gwilson Owned by: nobody
Component: Core (Cache system) Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Failure text:

======================================================================
FAIL: test_add (regressiontests.cache.tests.Cache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/local/bzr/django/upstream/tests/regressiontests/cache/tests.py", line 29, in test_add
    self.assertEqual(cache.get("addkey1"), "value")
AssertionError: None != 'value'

----------------------------------------------------------------------
Ran 214 tests in 174.491s

FAILED (failures=1)

with cache settings:

CACHE_BACKEND = 'locmem:///'
CACHE_MIDDLEWARE_SECONDS = 600

Attachments (1)

5981-1.diff (601 bytes) - added by mattmcc 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by mattmcc

comment:1 Changed 7 years ago by mattmcc

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

This patch seems to do the trick.

comment:2 Changed 7 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [6709].

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.