]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add ObjectCacher stress test that does not use a cluster
authorJosh Durgin <josh.durgin@inktank.com>
Tue, 13 Nov 2012 18:28:32 +0000 (10:28 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 16 Nov 2012 21:23:26 +0000 (13:23 -0800)
commit9a10ebb2ef36a251c9e9d27612d295d9897da560
tree992eead589b5c3c1fe6e4de4934ab781181d5361
parentfd928b9b71b65cee012bea8fb65413f04f1f317a
test: add ObjectCacher stress test that does not use a cluster

Use a fake writeback handler and respond to all requests with -ENOENT.
This tests that all operations will complete, and the cache doesn't
lose waiters or callbacks.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/Makefile.am
src/test/osdc/FakeWriteback.cc [new file with mode: 0644]
src/test/osdc/FakeWriteback.h [new file with mode: 0644]
src/test/osdc/object_cacher_stress.cc [new file with mode: 0644]