]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/objectstore: add test for GetNumBytes 7775/head
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Wed, 24 Feb 2016 12:18:39 +0000 (13:18 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Wed, 24 Feb 2016 15:30:08 +0000 (16:30 +0100)
commit2104df820d12ed68a1efefddd3cbda7fa573c30c
tree4fe670d484dc9813b6d4afde495905e3e3dd64b9
parent325963b2c1dcdfaa5897d0f999517bfe1d8cd365
test/objectstore: add test for GetNumBytes

Since new, fast implementation relies on results of encoded_size()
methods which may be invalidated once someone modifies the coll_t
and/or hobject_t classes, this test should be convincing enough for
anyone trying to modify them to update also relevant encoded_size
methods.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/os/ObjectStore.h
src/test/objectstore/test_transaction.cc