[tahoe-lafs-trac-stream] [tahoe-lafs] #1240: add functional test of ResponseCache

tahoe-lafs trac at tahoe-lafs.org
Wed Apr 18 08:38:28 UTC 2012


#1240: add functional test of ResponseCache
------------------------------+-----------------------------------------
     Reporter:  davidsarah    |      Owner:  zooko
         Type:  defect        |     Status:  assigned
     Priority:  major         |  Milestone:  1.11.0
    Component:  code-mutable  |    Version:  1.8.0
   Resolution:                |   Keywords:  review-needed mutable cache
Launchpad Bug:                |
------------------------------+-----------------------------------------
Changes (by amiller):

 * keywords:  review-needed test-needed mutable cache => review-needed
     mutable cache


Comment:

 My test branch (amiller-1240-tests) differs from trunk only minimally, in
 particular the only test it removes was for !ResponseCache itself. The
 feature branch (amiller-1240) also passes these tests now.

 The only difference is that the number of slot_readv calls in trunk is 84
 but goes down to 60 after replacing !ResponseCache with this simpler
 alternative (according printouts in
 test_dirnode.Dirnode.test_deepcheck_cachemisses).

 [https://github.com/amiller/tahoe-
 lafs/commit/f3333113dd0b9725a519a4fe6668f385ee6846fe Test branch]
 [https://github.com/amiller/tahoe-
 lafs/commit/86854345fac8d4a32c29e656e6a0c09fa96f6964 Feature branch]

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1240#comment:9>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list