#1240 closed defect

add functional test of ResponseCache — at Initial Version

Reported by: davidsarah Owned by:
Priority: major Milestone: 1.10.0
Component: code-mutable Version: 1.8.0
Keywords: mutable cache reviewed Cc:
Launchpad Bug:

Description

There are unit tests of the mutable ResponseCache (at src/allmydata/test/test_mutable.py@4772#L1719, but no functional tests of how it is used. (As noted in 1045#comment:39, deactivating the cache by commenting out the line that adds entries to it will currently cause all tests to pass.)

One way to test that the cache is working would be to download a file, then break all of the servers holding its shares, then download it again in order to check that the shares are retrieved from cache rather than from the servers.

Change History (0)

Note: See TracTickets for help on using tickets.